qt5base-lts/tests/auto/gui/painting
Jean-Michaël Celerier e6a7b61d27 Add clear, reserve and capacity methods to QPainterPath
This allows anticipating and reusing internal allocations of
QPainterPathElements instead of using the common `m_myPath = QPainterPath{}` pattern.

[ChangeLog][QtGui][QPainterPath] Added clear(), reserve(), capacity().
clear() removes allocated QPainterPath elements but preserves allocated memory, which can be
useful for application with complex paths that are often recreated. reserve() and capacity()
follow QVector semantics.

Change-Id: I763461e2a421feda9053d3eb512af2fcf07ade2b
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
2019-01-08 08:25:02 +00:00
..
qbrush Give the QGradient presets ObjectMode coordinate mode by default 2018-07-24 16:45:53 +00:00
qcolor Fix precision in parsing hex format QColors 2018-11-12 22:18:43 +00:00
qpagelayout
qpagesize
qpaintengine
qpainter Avoid crash in blitting or fast draw when QPointF is too big 2018-12-11 18:32:53 +00:00
qpainterpath Add clear, reserve and capacity methods to QPainterPath 2019-01-08 08:25:02 +00:00
qpainterpathstroker
qpathclipper Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
qpdfwriter
qpen
qpolygon
qregion tst_QRegion: compile under QT_DISABLE_DEPRECATED_BEFORE=0x051200 2017-12-07 19:10:09 +00:00
qtransform Fix QTransform::transposed() result having wrong transformation type 2018-06-06 08:59:20 +00:00
qwmatrix Use qRadiansToDegrees() and qDegreesToRadians() more widely 2017-07-05 10:15:34 +00:00
painting.pro