do the values only differ in one bit?
I am surprised they are at all close!
QPainter::drawRect() does not fill the rectangle, so position 50,50 (middle of your rect) must be different than the outline which QPainter drew with drawRect() - or am I missing something in your post?
Bookmarks