getgpo(3G)

getgpo - gets the current graphics position

As shipped in IRIX 6.5.5. Unchanged since IRIX 6.5.

NAME
     getgpo - gets the current graphics position

FORTRAN 77 SPECIFICATION
     subroutine getgpo(fx, fy, fz, fw)
     real fx, fy, fz, fw

PARAMETERS
     fx   expects the variable into which you want the system to write the x
          coordinate of the current graphics position.

     fy   expects the variable into which you want the system to write the y
          coordinate of the current graphics position.

     fz   expects the variable into which you want the system to write the z
          coordinate of the current graphics position.

     fw   expects the variable 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
     getgpo 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
     getcpo

NOTE
     This routine is available only in immediate mode.