The existing functions GDrawingSurface::drawPolygon and GDrawingSurface::fillPolygon currently only accept std::initializer_lists as arguments. This means that it's not possible to dynamically generate a list of points that make up the polygon (say, as a Vector<GPoint>) and pass that as an argument to these functions.
The existing functions
GDrawingSurface::drawPolygonandGDrawingSurface::fillPolygoncurrently only acceptstd::initializer_lists as arguments. This means that it's not possible to dynamically generate a list of points that make up the polygon (say, as aVector<GPoint>) and pass that as an argument to these functions.