Name
sdl.RenderGetViewport -- get viewport
Synopsis
x, y, w, h = sdl.RenderGetViewport(display)
Function
Use this function to get the drawing area for the current target.

Inputs
display
identifier of display whose renderer should be used
Results
x
the x coordinate of the upper left corner
y
the y coordinate of the upper left corner
w
the rectangle width
h
the rectangle height

Show TOC