how do you erase polygons in a qpixmap with transparency?

painter.setCompositionMode(QPainter::CompositionMode_Clear);

See Composition Modes sample provided with Qt.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top