diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-03-03 13:17:40 +0100 |
---|---|---|
committer | Andy Nichols <andy.nichols@theqtcompany.com> | 2016-03-04 10:49:52 +0000 |
commit | 966d79f2421f2d0904a0ad0a7e600f3f2e818efd (patch) | |
tree | 82a1638396b02cc710ec6421602d2b3546699344 /tests/manual | |
parent | 6c7fed47e30799276e675355c90d46348b40fdd2 (diff) |
D3D12: Let there be smoothness
Rounded rectangles are now smooth and beautiful.
Change-Id: I3ea61934be7c10ef01fa5c2b14dc28705a429b61
Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
Diffstat (limited to 'tests/manual')
-rw-r--r-- | tests/manual/nodetypes/Rects.qml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/manual/nodetypes/Rects.qml b/tests/manual/nodetypes/Rects.qml index a6eeb375d4..0d3a8cd459 100644 --- a/tests/manual/nodetypes/Rects.qml +++ b/tests/manual/nodetypes/Rects.qml @@ -123,4 +123,15 @@ Item { } } } + + Rectangle { + anchors.right: parent.right + width: 100 + height: 100 + gradient: Gradient { + GradientStop { position: 0.0; color: "red" } + GradientStop { position: 0.33; color: "yellow" } + GradientStop { position: 1.0; color: "green" } + } + } } |