Is there a way to set the DPI of a QPicture
?
views:
57answers:
1
+1
A:
I don't think so. At least, not in a convenient way. The only approach I can think of is to scale the QPainter used to create the QPicture. If you are painting the picture using QPainter operations, as opposed to just setting it on a QLabel, you could possibly scale that QPainter instead.
David Boddie
2009-05-13 23:03:15
This screws up to painted text.
Georg
2009-05-14 06:12:45
Do you mean that the scaled fonts look worse than fonts with properly chosen font sizes?
David Boddie
2009-05-14 22:38:23
No, it's too small.
Georg
2009-06-03 18:43:45