G2DInitWorld

Syntax

#include <revolution/G2D.h>

void G2DInitWorld( u32 nWorldX, u32 nWorldY );

Arguments

nWorldX Width of the world-space in pixels.
nWorldY Height of the world-space in pixels.

Return Values

None.

Description

The G2DInitWorld function specifies the size of the 2D world-space. nWorldX and nWorldY are measured in units of pixels and must be powers of two.

See Also

None.

Revision History

2006/03/01 Initial version.


CONFIDENTIAL