aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/util/qquickpath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/util/qquickpath.cpp')
-rw-r--r--src/quick/util/qquickpath.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/quick/util/qquickpath.cpp b/src/quick/util/qquickpath.cpp
index bc7b6eeb7b..8843dc9f39 100644
--- a/src/quick/util/qquickpath.cpp
+++ b/src/quick/util/qquickpath.cpp
@@ -3113,6 +3113,13 @@ void QQuickPathMultiline::addToPath(QPainterPath &path, const QQuickPathData &)
baseline will be translated to the x and y coordinates, and the outlines from the font
will be added to the path accordingly.
+ When used to render texts in a Shape item, note the following:
+ \list
+ \li For correct fill, the ShapePath's fillRule should be set to ShapePath.WindingFill.
+ \li Not all fonts provide a nice outline suitable for stroking. If you want a stroked
+ outline and are getting unsatisfactory results, try a different font.
+ \endlist
+
\qml
PathText {
x: 0