#include <revolution/include/G2D.h>
void G2DSetViewport( u16 nLeft, u16 nTop, u16 nWidth, u16 nHeight );
The G2DSetViewport function sets the viewing rectangle for rendering.
nLeft |
Represents the screen space coordinates in pixels of the left edge in the viewport. |
nTop |
Represents the screen space coordinates in pixels of the upper edge in the viewport. |
nWidth |
Width of the viewport in screen space coordinates in pixels. |
nHeight |
Height of the viewport in screen space coordinates in pixels. |
03/01/2006 Initial version.