#include <revolution/G2D.h> void G2DSetViewport( u16 nLeft, u16 nTop, u16 nWidth, u16 nHeight );
nLeft |
The screen-space coordinates (in pixels) of the left-most side of the viewport in screen-space. |
|---|---|
nTop |
The screen-space coordinates (in pixels) of the top-most side of the viewport in screen-space. |
nWidth |
Width of the viewport in screen-space coordinates (in pixels). |
nHeight |
Height of the viewport in screen-space coordinates (in pixels). |
None.
The G2DSetViewport function sets the viewing rectangle to be used for rendering.
None.
2006/03/01 Initial version.
CONFIDENTIAL