I am starting a project that is going to be displayed on a 1080p fullHD display in vertical position (rotated 90º).
Since I don't have such a big display I've been testing scaling and rotating everything I draw so I can make an idea how is going to look like when is shown in the display.
The problem is that the graphics have
different sizes when I display them in portrait or in landscape.
Here the size of the square is different:
To draw it in portrait or in landscape I just have to give the correct value to the
portrait variable
here is code code: