[Development] QList

Philippe philwave at gmail.com
Mon Mar 27 09:22:09 CEST 2017


> (the API is lying here, btw: QPainer::drawPolygon(const QPoint *, int) 
> suggests that you can manage the storage youself to avoid using the heap. But 
> you do that only to have the paint engine create something expensive as a 
> QPainterPath first chance it gets).

No heap allocation if you use the QPointF version with the raster engine.
Nor QPainterPath created with the raster engine.

Philippe




More information about the Development mailing list