Details
-
Technical task
-
Resolution: Fixed
-
P2: Important
-
None
-
None
-
None
-
bc65c90cc (dev), 96bd963cb (dev), 7b439b7e5 (6.7)
Description
- The user may have information about the input path which can save significant preprocessing if known. Add API to allow the user to specify this. E.g. it may be known that
- all curves are quadratic (although stored in cubic form in QPainterPath)
- the path adheres to a convention for determining inside/outside
- the path is convex
- the path has no self-intersections
- Currently we tear down everything (all nodes) whenever something changes (DirtyGeometry). Implement more finegrained flags (DirtyPath/DirtyOutline) to save unnecessary recalculation
- Cleanup to facilitate the above: avoid the kludge of passing the entire pathData object to addPathNodes
- Ideally do something about debugNodes - problematic for the above that it is common for fill & stroke
Attachments
For Gerrit Dashboard: QTBUG-112340 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
517947,11 | Shapes: Add optimization flags | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
521094,12 | Use shape hints in the curve renderer | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
531669,2 | Use shape hints in the curve renderer | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |