Viewport
The Viewport function sets the viewport.
Viewport( x,y,width,height);
Arguments
x, y
The lower-left corner of the viewport rectangle, in pixels. The default is (0,0).
width, height
The width and height, respectively, of the viewport. When an OpenGL context is first attached to a window, width and height are set to the dimensions of that window.
Note: Do not call ViewPort between a call to Begin and the corresponding call to End.
See Also