[Qt-interest] QBrush transform on pdf
Kim M. Kalland
kim.kalland at nokia.com
Fri Dec 11 13:48:02 CET 2009
Marco Hugentobler wrote:
> Hi all
>
> I'm setting a QTransform object to QBrush to scale the image texture, like
> this:
>
> QTransform brushTransform;
> brushTransform.scale(1.0 / context.rasterScaleFactor(), 1.0 /
> context.rasterScaleFactor());
> mBrush.setTextureImage(textureImage);
> mBrush.setTransform(brushTransform);
>
> This works when drawing with QPainter to QImage, post script and svg. However,
> it does not work with the pdf print engine. The image does not gets scaled on
> PDF. Is this a known issue?
>
> I'm using Qt 4.5.2 on Linux.
>
> Thanks,
> Marco
>
>
The issue is known as QTBUG-5114 in our bug tracker.
Regards,
Kim
More information about the Qt-interest-old
mailing list