i've created a simple program which uses setviewport to set the viewport in which we specify the top left and bottom right corner and it considers top left corner as 0,0. The code for this is :-
Now my problem is that if i want to consider xorigin and yorigin as 0,0 and want to treat the screen as though i am drawing on graph paper i mean the co-ordinates increases as we go top right(X increases in right direction and Y increases in top direction). Then how shall i do it???