Rotate axis of QWidget
-
QWidget is by default configured to start the x and y axis in the top left corner. How can I change the axis to start at the bottom left corner (like in maths)?
I basically just want to draw shapes on the QWidget, but it is drawing everything upside-down
-
In the computer graphics world it starts at the top left corner only. So you will have to make your calculations like that. You can calculate the respective points(x,y) and draw it. I don't know if there is any easier way out.
-
thanks, i'll try that
-
thanx, the translate and scale solution worked