getorigin(3G)

getorigin - returns the position of a graphics window

As shipped in IRIX 6.5. First release of IRIX 6.5.

NAME
     getorigin - returns the position of a graphics window

C SPECIFICATION
     void getorigin(x, y)
     long *x, *y;

PARAMETERS
     x   expects a pointer to the location into which the system should copy
         the x position (in pixels) of the lower left corner of the graphics
         window.

     y   expects a pointer to the location into which the system should copy
         the y position (in pixels) of the lower left corner of the graphics
         window.

DESCRIPTION
     getorigin returns the position (in pixels) of the lower-left corner of a
     graphics window.  Call getorigin after graphics initialization.

SEE ALSO
     winopen

NOTE
     This routine is available only in immediate mode.