# G2_SetWnd0Position

## C Specification

      #include <nitro/gx/g2.h>

      void G2_SetWnd0Position(int x1, int y1, int x2, int y2);

## Description

This function sets position of Window 0. The lower 8 bits of the x-coordinate are valid, and the y-coordinate must have a value between 0 and 192.

## Arguments

`x1` | Upper left x-coordinate of the window
`y1` | Upper left y-coordinate of the window
`x2` | Lower right x-coordinate of the window
`y2` | Lower right y-coordinate of the window

## Return Values

None.

## See Also

`G2_SetWnd1Position`

## Revision History

02/09/2004 Added restrictions for the coordinate values.
01/19/2004 Initial Version