Qt 6.12 LTS is out! See what's new in the release
blog
QPainterPath from QGraphicsTextItem
General and Desktop
3
Posts
2
Posters
935
Views
1
Watching
-
Hello,
Is there any possibility to get a QPainterPath from a QGraphicsTextItem with rich text ?
When rendering QGraphicsScene(including QGraphicsTextItem) to a PDF Document all the Text in the Document are vectors.
So it should be possible.Do you have any idea how i can archive this ?
-
There is something more general for fonts:
@QPainterPath myPath;
myPath.addText(baseline, myFont, tr("Qt"));@