Hi,
not sure if this is the best solution, but I am doing something like this:
Qt Code:
QPainterPath path; QPolygonF p; //add outer points path.addPolygon(p); QPainterPath inner; //add inner points inner.addPolygon(p); path = path.subtracted(inner);To copy to clipboard, switch view to plain text mode




Reply With Quote

Bookmarks