1631384c27
The cumbersome complex calls to QMatrix were surely easy to write thanks to copy-and-paste; but this left the reader to either laboriously check or guess that all the copies were the same (and notice that there were two, in fact). DRY. Since QMatrix wants qreal data, change the float deg angle to a qreal and work in qreal throughout. Passing the angle to a function instead of repeating it obviates the need for a local variable in the calling code, to hold its value. Change-Id: I6bb4adf438a893083ca19f27942502c1e5c518aa Reviewed-by: Marc Mutz <marc.mutz@kdab.com> |
||
---|---|---|
.. | ||
qbrush | ||
qcolor | ||
qpagelayout | ||
qpagesize | ||
qpaintengine | ||
qpainter | ||
qpainterpath | ||
qpainterpathstroker | ||
qpathclipper | ||
qpdfwriter | ||
qpen | ||
qpolygon | ||
qregion | ||
qtransform | ||
qwmatrix | ||
painting.pro |