Hi David,

> However, I have some problems when I actually want to draw rectangles with 
> negatives width and height. I mean when the values of origPoint.x() and 
> origPoint.y() are strictly higher than scenePos().x() and scenePos().y() 
> respectively.

You will have to normalize the rectangle coordinates. There is a QRect method 
for this. It exchanges coordinates so that width and height is positive. You 
can set the rectangle then.

- Michael.


_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to