I have created a Graphicsview and noticed that the coordinate system looks like this:
(0,0) (1,1) - - - - - - - (n,n)
(1,1)
|
|
|
|
(n,n)
However, what I would like to have is the following system:
(n,n)
|
|
|
|
(1,1)
(0,0) (1,1) - - - - - - - (n,n)
Is it possible to shift the coordinate system to be like this in a neat way?
Ok. I figured this one out!
Using self.scale(1, -1) will mirror the graphicsview around the y-axis.
Similarly, using self.scale(-1, 1) would mirror the graphicsview around the x-axis.