Grx.set_viewport
@accepts(int, int) @returns(bool) def set_viewport(x, y): # Python wrapper for grx_set_viewport()
Sets the viewport on a virtual screen. The width and height of the viewport are determined by the physical screen size (Grx.get_screen_width and Grx.get_screen_height).
- x
the left X coordinate of the viewport
- y
the top Y coordinate of the viewport
- Returns