getgpos(3G)
getgpos - gets the current graphics position
As shipped in IRIX 6.5.19. Unchanged since IRIX 6.5.
NAME getgpos - gets the current graphics position C SPECIFICATION void getgpos(fx, fy, fz, fw) Coord *fx, *fy, *fz, *fw; PARAMETERS fx expects a pointer to the location into which you want the system to write the x coordinate of the current graphics position. fy expects a pointer to the location into which you want the system to write the y coordinate of the current graphics position. fz expects a pointer to the location into which you want the system to write the z coordinate of the current graphics position. fw expects a pointer to the location into which you want the system to write the w coordinate of the current graphics position. The w value is used when defining a three dimensional point in homogeneous coordinates. DESCRIPTION getgpos returns the current graphics position after transformation by the current matrix. When the current graphics position is undefined, the action of this routine is undefined. SEE ALSO getcpos NOTE This routine is available only in immediate mode.