[Qt-interest] cosmetic drawText()

Andre Haupt andre at bitwigglers.org
Fri May 29 09:41:41 CEST 2009


Hi all,

I use QPainter with an applied QMatrix to scale and translate the coordinates
according to the data i want to draw.

Drawing lines works as expected if the painters pen is set cosmetic.
Otherwise the drawn lines will be stretched.

However, if i draw text, setting the pen to cosmetic has no influence
on the appearing of the text. The text is always drawn stretched.

What am I missing?


regards,

Andre



More information about the Qt-interest-old mailing list