Returns the position of a window.
FORTRAN (libfgl.a)
void getorigin(Int32 *x, Int32 *y)
SUBROUTINE GETORI(x, y) INTEGER*4 x, y
The getorigin subroutine returns the position (in pixels) of the lower-left corner of the current window. A window must be open for this subroutine to work.
Call the winopen subroutine to open a window, or the winset subroutine to choose the current window.
Note: This subroutine cannot be used to add to a display list.
The example C language program paint.c uses the getorigin subroutine to determine the origin of the window.
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. |
Obtaining the size of the window with the getsize subroutine.
Constraining the window position and size with the prefposition subroutine.
Moving the current window by its lower left corner with the winmove subroutine.
Creating a window with the winopen subroutine.
Changing the current location and size of a window with the winposition subroutine.
Setting the current window with the winset subroutine.
Creating and Managing Windows.