summaryrefslogtreecommitdiffstats
path: root/src/opengl/gl2paintengineex
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-08-20 10:57:34 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-01-14 12:57:10 (GMT)
commit7fbffd29e5904151a3a249004031d0502a16f4fc (patch)
treed06b39d9993a382a01e250e58d8e547a0cd5a436 /src/opengl/gl2paintengineex
parent161f6b4ccdec38c9817672ad977f4d025acb14f4 (diff)
downloadQt-7fbffd29e5904151a3a249004031d0502a16f4fc.zip
Qt-7fbffd29e5904151a3a249004031d0502a16f4fc.tar.gz
Qt-7fbffd29e5904151a3a249004031d0502a16f4fc.tar.bz2
Remove font property in QStaticText and fix handling translation on
painter 1. The font property in QStaticText has been removed. Rather than set a font on the text explicitly, it picks up the font from the painter. If you change the font on the painter, the text layout will have to be updated, like with a matrix. 2. The translation might not be the only transformation on the painter, so rather than translate back to origo, we explicitly set dx and dy on the transform to 0.0 for the duration of the function. 3. Update test to reflect changes
Diffstat (limited to 'src/opengl/gl2paintengineex')
0 files changed, 0 insertions, 0 deletions