SDL2Renderer.setViewport

Sets the window drawing area.

class SDL2Renderer
void
setViewport
(
int x
,
int y
,
int w
,
int h
)

Throws

SDL2Exception on error.

See Also

Meta