Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
None
Description
Cosmetic pen support is currently missing from Qt Quick Shapes itself. This is a feature gap when compare to QPainter and also means that the VectorImage does not correctly support SVGs which require cosmetic pens.
Example:
<svg viewBox="0 0 500 240"> <!-- normal --> <path d="M10,20 L40,100 L39,200 z" stroke="black" stroke-width="2px" fill="none"></path> <!-- scaled --> <path transform="translate(100,0) scale(4,1)" d="M10,20 L40,100 L39,200 z" stroke="black" stroke-width="2px" fill="none"></path> <!-- fixed--> <path vector-effect="non-scaling-stroke" transform="translate(300, 0) scale(4, 1)" d="M10,20 L40,100 L39,200 z" stroke="black" stroke-width="2px" fill="none"></path> </svg>
Attachments
Issue Links
- relates to
-
QTBUG-119114 Fill gap between QPainter and Qt Quick Shapes
-
- Reported
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-124638 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
595815,29 | Add ShapePath.cosmeticStroke | dev | qt/qtdeclarative | Status: NEW | 0 | 0 |
620908,3 | Start stroke with skinny triangles; expand width in vert shader; fix square caps | dev | qt/qtdeclarative | Status: NEW | 0 | 0 |