aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/painterpathquickshape
diff options
context:
space:
mode:
authorMatthias Rauter <matthias.rauter@qt.io>2024-01-15 16:05:00 +0100
committerMatthias Rauter <matthias.rauter@qt.io>2024-01-18 11:12:30 +0100
commitac7754b7f74434a86decbdd232020a4e746a9994 (patch)
tree631dba793e2b33990b95fba6d5aa5928ec71396a /tests/manual/painterpathquickshape
parentda241be7376f466371b80a731807193f0b2a58b3 (diff)
Fix intersections that coincide with a vertex
This issue was found in fonts where intersection match a vertex of the path. With this change we take care of such points properly. Pick-to: 6.7 Change-Id: Ibe2f0334e748351066e324f8bb10774fc505e832 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'tests/manual/painterpathquickshape')
-rw-r--r--tests/manual/painterpathquickshape/Intersect.qml16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/manual/painterpathquickshape/Intersect.qml b/tests/manual/painterpathquickshape/Intersect.qml
index ed1156f388..9d7e909548 100644
--- a/tests/manual/painterpathquickshape/Intersect.qml
+++ b/tests/manual/painterpathquickshape/Intersect.qml
@@ -122,4 +122,20 @@ ControlledShape {
anchors.centerIn: c3
text: "c3"
}
+ Text {
+ anchors.centerIn: p4
+ text: "p4"
+ }
+ Text {
+ anchors.centerIn: p5
+ text: "p5"
+ }
+ Text {
+ anchors.centerIn: p6
+ text: "p6"
+ }
+ Text {
+ anchors.centerIn: p7
+ text: "p7"
+ }
}