My initial projection area is set in such a way that my lower left coordinate is (0,0), i.e.
glOrtho(0, width, 0, height, -1, 1);
Now i need to move this projection area so that my lower left corner begins at (100, 150) i.e.
glOrtho(100, width, 150, height, -1, 1);
then, how do i do it.?? I tried specifying the same values as mentioned above… But it moves in such a way that only half of the displayed item is shown on the screen…
How do i do this so that my full displayed data comes at the center when i change the projection…??
Thanks in advance