tags:

views:

57

answers:

1

Is there a way to set the DPI of a QPicture?

+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
This screws up to painted text.
Georg
Do you mean that the scaled fonts look worse than fonts with properly chosen font sizes?
David Boddie
No, it's too small.
Georg