11polygon << QPoint(10, 20) << QPoint(20, 30);
19polygon << QPointF(10.4, 20.5) << QPointF(20.2, 30.2);
26static const int points[] = { 10, 20, 30, 40 };
28polygon.setPoints(2, points);
36polygon.setPoints(2, 10, 20, 30, 40);
44polygon[0] = QPoint(4, 5);
45polygon.putPoints(1, 2, 6,7, 8,9);
53polygon.putPoints(0, 3, 4,5, 0,0, 8,9);
54polygon.putPoints(1, 1, 6,7);
62polygon1.putPoints(0, 3, 1,2, 0,0, 5,6);
66polygon2.putPoints(0, 3, 4,4, 5,5, 6,6);
69polygon1.putPoints(2, 3, polygon2);