njClip2D Japanese
<-|INDEX|->
Specifies the drawing area on the screen.

FORMAT

#include <Ninja.h>

void njClip2D(*v)
NJS_POINT2 *v

PARAMETERS

*v
upper left and lower right coordinates of drawing area

RETURN VALUE

None

FUNCTION


EXAMPLE

The following specifies a drawing area with an upper right corner at (160, 240) and a lower left corner at (480, 300).
NJS_POINT2 p[2];

P[0].x = 160.f;
P[0].y = 240.f;
P[1].x = 480.f;
P[1].y = 300.f;

njClip2D(P);

NOTES


RELATED TOPICS

njInitSystem()

njClip2D
<-|INDEX|->

Copyright SEGA ENTERPRISES, LTD., 1997