Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, May 2008
QPixmap resolution


Message 1 in thread

How do I set the resolution of a QPixmap so that QPaintDevice::logicalDpiX()
returns what I want? QImage let's me set it via setDotsPerMeterX/Y, but
QPixmap seems to always be at screen resolution. However, I need a QPixmap
at printer resolution when I am printing.

BTW, why can't I set DPI on a QImage? Everything else measures in DPI, why
is QImage in DPM?

Keith
**Please do not reply to me, reply to the list.**