getgpos(3G)getgpos(3G)NAMEgetgpos - 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.
DESCRIPTIONgetgpos 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.
Page 1