aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/canvas
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/canvas')
-rw-r--r--examples/quick/canvas/bezierCurve/bezierCurve.qml3
-rw-r--r--examples/quick/canvas/clip/clip.qml2
-rw-r--r--examples/quick/canvas/quadraticCurveTo/quadraticCurveTo.qml2
-rw-r--r--examples/quick/canvas/roundedrect/roundedrect.qml2
-rw-r--r--examples/quick/canvas/smile/smile.qml2
-rw-r--r--examples/quick/canvas/squircle/squircle.qml2
-rw-r--r--examples/quick/canvas/tiger/tiger.qml2
7 files changed, 7 insertions, 8 deletions
diff --git a/examples/quick/canvas/bezierCurve/bezierCurve.qml b/examples/quick/canvas/bezierCurve/bezierCurve.qml
index 6337b12eec..a07181333f 100644
--- a/examples/quick/canvas/bezierCurve/bezierCurve.qml
+++ b/examples/quick/canvas/bezierCurve/bezierCurve.qml
@@ -63,8 +63,7 @@ Item {
property real scaleX : scaleXCtrl.value
property real scaleY : scaleYCtrl.value
property real rotate : rotateCtrl.value
- smooth:true
-
+ antialiasing: true
Behavior on scaleX { SpringAnimation { spring: 2; damping: 0.2; loops:Animation.Infinite } }
Behavior on scaleY { SpringAnimation { spring: 2; damping: 0.2; loops:Animation.Infinite} }
diff --git a/examples/quick/canvas/clip/clip.qml b/examples/quick/canvas/clip/clip.qml
index 55c7913476..c500c31aa8 100644
--- a/examples/quick/canvas/clip/clip.qml
+++ b/examples/quick/canvas/clip/clip.qml
@@ -64,7 +64,7 @@ Item {
property real py:yCtrl.value
property real alpha:alphaCtrl.value
property string imagefile:"../contents/qt-logo.png"
- smooth:true
+ antialiasing: true
Component.onCompleted:loadImage(canvas.imagefile);
onAlphaChanged:requestPaint();
diff --git a/examples/quick/canvas/quadraticCurveTo/quadraticCurveTo.qml b/examples/quick/canvas/quadraticCurveTo/quadraticCurveTo.qml
index e7121c1a59..59a2eeb4ef 100644
--- a/examples/quick/canvas/quadraticCurveTo/quadraticCurveTo.qml
+++ b/examples/quick/canvas/quadraticCurveTo/quadraticCurveTo.qml
@@ -63,7 +63,7 @@ Item {
property real scaleX : scaleXCtrl.value
property real scaleY : scaleYCtrl.value
property real rotate : rotateCtrl.value
- smooth:true
+ antialiasing: true
onLineWidthChanged:requestPaint();
onFillChanged:requestPaint();
diff --git a/examples/quick/canvas/roundedrect/roundedrect.qml b/examples/quick/canvas/roundedrect/roundedrect.qml
index 568b387fd7..838820958f 100644
--- a/examples/quick/canvas/roundedrect/roundedrect.qml
+++ b/examples/quick/canvas/roundedrect/roundedrect.qml
@@ -53,7 +53,7 @@ Item {
id:canvas
width:320
height:280
- smooth:true
+ antialiasing: true
property int radius: rCtrl.value
property int rectx: rxCtrl.value
diff --git a/examples/quick/canvas/smile/smile.qml b/examples/quick/canvas/smile/smile.qml
index 00ded9303a..43265f9cd6 100644
--- a/examples/quick/canvas/smile/smile.qml
+++ b/examples/quick/canvas/smile/smile.qml
@@ -54,7 +54,7 @@ Item {
id:canvas
width:320
height:280
- smooth:true
+ antialiasing: true
property string strokeStyle:"green"
property string fillStyle:"yellow"
diff --git a/examples/quick/canvas/squircle/squircle.qml b/examples/quick/canvas/squircle/squircle.qml
index a102dc4286..4bcbf60411 100644
--- a/examples/quick/canvas/squircle/squircle.qml
+++ b/examples/quick/canvas/squircle/squircle.qml
@@ -59,7 +59,7 @@ Item {
id:canvas
width:320
height:250
- smooth:true
+ antialiasing: true
property string strokeStyle:"blue"
property string fillStyle:"steelblue"
diff --git a/examples/quick/canvas/tiger/tiger.qml b/examples/quick/canvas/tiger/tiger.qml
index 92fe2fe1a9..a9d291d630 100644
--- a/examples/quick/canvas/tiger/tiger.qml
+++ b/examples/quick/canvas/tiger/tiger.qml
@@ -55,7 +55,7 @@ Item {
id:canvas
width:320
height:280
- smooth:true
+ antialiasing: true
property string strokeStyle:"steelblue"
property string fillStyle:"yellow"
property bool fill:true