Qt 6.11 is out! See what's new in the release
blog
How can i get a QPixmap from a QGraphicsPolygonItem
General and Desktop
4
Posts
2
Posters
1.1k
Views
1
Watching
-
Hi,
You can use "QGraphicsScene::render":http://qt-project.org/doc/qt-5/qgraphicsscene.html#render to render the part where you polygon item can be found on a QPixmap.
Hope it helps
-
That I understood, however AFAIK, there's no direct way from QGraphicsPolygonItem to QPixmap.