set_viewport


Description:

public bool set_viewport (int x, int y)

Sets the viewport on a virtual screen.

The width and height of the viewport are determined by the physical screen size ( get_screen_width and get_screen_height).

Parameters:

x

the left X coordinate of the viewport

y

the top Y coordinate of the viewport

Returns:

true if setting the viewport was successful


Namespace: Grx
Package: grx-3.0