Try:
QPointArray pts(4);
pts.setPoints(0, 240, 210, 260, 230, 300, 150, 320, 170);
QPointArray pts(4);
pts.setPoints(0, 240, 210, 260, 230, 300, 150, 320, 170);
To copy to clipboard, switch view to plain text mode
or
QPointArray pts(4);
pts.setPoint(0, 240, 210);
pts.setPoint(1, 260, 230);
pts.setPoint(2, 300, 150);
pts.setPoint(3, 320, 170);
QPointArray pts(4);
pts.setPoint(0, 240, 210);
pts.setPoint(1, 260, 230);
pts.setPoint(2, 300, 150);
pts.setPoint(3, 320, 170);
To copy to clipboard, switch view to plain text mode
Bookmarks