Use this function to set the drawing area for rendering on the current target.
If you leave out the optional arguments, the viewport is set to the entire
target. When the window is resized, the current viewport is automatically centered
within the new window size.
Inputs
display
identifier of display whose renderer should be used
x
optional: the x coordinate of the upper left corner
y
optional: the y coordinate of the upper left corner