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

- Specifies the drawing area on the screen.

### 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

- Since njInitSystem() initializes the drawing area to the entire screen, this function is not needed unless the user requires a drawing area of different size.

### RELATED TOPICS

  njInitSystem()

njClip2D |
    <-|INDEX|->