Expound on canvas example documentation
[profile/ivi/qtdeclarative.git] / examples / quick / canvas / canvas.qml
index cf3c37a..afb6fbf 100644 (file)
@@ -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
 
 */