class MapObject{............public: int NumPoints; QPolygon vecPoint;......};
painter.drawPolyline(massiveObj[i]->vecPoint);