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

Qt-interest Archive, August 2006
Why QPainter::setWindow takes a QRect


Message 1 in thread

Since it is part of the view transform, it should accept a QRectF. From 
what I understand, the window is specified in logical coordinates. What 
if I want to set the QPainter.matric() to transform a given rectangle 
into the axis-aligned square (0,0)-(0.5,0.5), then I cannot set the 
window on this square: the minimum window I can do is (0,0)-(1,1) ?!?!

--
 [ signature omitted ]