Re: mirror for QGraphicsItem
Quote:
Originally Posted by
jobrandt
Is such a function implemented or how can i implement it.
Try scale with a negative value? ;-)
Or if you like to control everything, you can create the matrix yourself and call QGraphicsItem::setMatrix. See also The Graphics view Coordinate System
Re: mirror for QGraphicsItem
scale() works very good.
I have used scale(-1,1) to mirror to the x-axis and scale(1,-1) for the y-axis.
scale(-1,-1) should mirror to the origin, but i have not tried this.