aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/canvas/canvas.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/canvas/canvas.qml')
-rw-r--r--examples/quick/canvas/canvas.qml9
1 files changed, 7 insertions, 2 deletions
diff --git a/examples/quick/canvas/canvas.qml b/examples/quick/canvas/canvas.qml
index cf3c37a4c3..afb6fbf74e 100644
--- a/examples/quick/canvas/canvas.qml
+++ b/examples/quick/canvas/canvas.qml
@@ -51,9 +51,12 @@ import "../../shared" as Examples
a small QML file emphasizing a particular element or feature.
Red heart demonstrates using a bezierCurve API to stroke and fill a red heart.
+ \snippet examples/quick/canvas/bezierCurve/bezierCurve.qml 0
- Talk bubble demonstrates using a quadraticCurveTo API to stroke and fill a customized talk bubble,
- this example also demonstrates the fillText API.
+ Talk bubble demonstrates using a quadraticCurveTo API to stroke and fill a customized talk bubble:
+ \snippet examples/quick/canvas/quadraticCurveTo/quadraticCurveTo.qml 0
+ This example also demonstrates the fillText API:
+ \snippet examples/quick/canvas/quadraticCurveTo/quadraticCurveTo.qml 1
Squircle demonstrates using a collection of simple moveTo/lineTo path APIs to draw a smooth squircle.
@@ -62,8 +65,10 @@ import "../../shared" as Examples
Smile face demonstrates using several complex path APIs to draw an fill a smile face.
Clip demonstrates using clip API to clip a given image.
+ \snippet examples/quick/canvas/clip/clip.qml 0
Tiger demonstrates using SVG path API to draw a tiger with a collection of SVG path strings.
+ \snippet examples/quick/canvas/tiger/tiger.qml 0
*/