Returns the current graphics position.
FORTRAN (libfgl.a)
void getgpos (Coord *fx, Coord *fy, Coord *fz, Coord *fw)
SUBROUTINE GETGPO(fx, fy, fz, fw) REAL fx, fy, fz, fw
The getgpos subroutine returns the current graphics position after transformation by the current matrix.
Note: This subroutine cannot be used to add to a display list.
fx | Specifies the pointer to the location into which to write the x coordinate of the current graphics position. |
fy | Specifies the pointer to the location into which to write the y coordinate of the current graphics position. |
fz | Specifies the pointer to the location into which to write the z coordinate of the current graphics position. |
fw | Specifies the pointer to the location into which to write the w coordinate of the current graphics position. The w value is used when defining a 3-D point in homogeneous coordinates. |
This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.
/usr/include/gl/gl.h | Contains C language constant and variable type definitions for GL. |
/usr/include/gl/fgl.h | Contains FORTRAN constant and variable type definitions for GL. |
Getting the current text character position with the getcpos subroutine.
AIX Graphics Library Overview, Drawing with Move-Draw Style Subroutines, Querying the System, and Working in Color Map and RGB Modes.