I thought the screenshot was what you asked for. I'm drawing a rect with boundingRect() dim when selected. Well the horizontal axis is along the node (red circle). You asked how does the bounding rect look like right ?
Thanks for explaining me in detail.It's not symmetric, so when you mirror, only the new bounding rect is being redrawn and it doesn't contain parts of the "old" position. It might be called a bug, but I wouldn't count on fixing it. A solution might be to invalidate and redraw the part of the scene that causes the problem or use QTransform instead of a negative scale![]()
But shouldn't Item::setMatrix method do an update() and then reflect the change ? (I haven't yet checked qt code , so correct me if i'm wrong)
And as for QTransform is concerned, my app should be compatible with Qt 4.2![]()
Bookmarks