How can i get a QPixmap from a QGraphicsPolygonItem
-
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.