Convert a QGraphicsTextItem to QPainterPath

  • How do I get the outline/path of QGraphicsTextItem? The shape() function returns a rectangle and opaqueArea() returns an empty path.

    The QGraphicsTextItem may not be simple plain text so I can't just addText to a QPainterPath.

    Any idea?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.