qskinny
qskinny copied to clipboard
Qt 6.6 CurveRenderer
With Qt 6.6 a new renderer for QPainterPath ( also fonts ) has been introduced: https://www.qt.io/blog/smooth-vector-graphics-in-qt-quick According to the blog it gives better results - however it seems to be slower than the existing implementation, that already can't be considered being fast.
The curve renderer is hidden inside the Qt Quick Shape module, but at least QSGCurveStrokeNode/QSGCurveFillNode are accessible. However those classes don't offer much more than the usual boilerplate code to satisfy the material/geometry APIs.
So in the end the new curve renderer does not offer much we can use, but the idea is interesting and it might be worth to come up with our own implementation.