Hi,
I have a brush with custom QBitmap, as shown. Inverted scale was applied to the QBrush to remove scaling effect on the QBitmap.
Qt Code:
QTransform xf = painter->transform(); QTransform brushXF; brushXF.scale( 1 / xf.m11(), 1 / xf.m22() ); bs.setTransform( brushXF ); painter->setBrush( bs );To copy to clipboard, switch view to plain text mode
In screen, the graphics look fine, but when do QPrinter, the inverted scaling on QBrush was lost, see attachment. Do I do something wrong?
Bookmarks