Graphics Subroutine: Moves the viewport-coordinate origin (0, 0) to the specified physical point.
Module: USE DFLIB
Syntax
TYPE xycoord
INTEGER(2) xcoord ! x-coordinate
INTEGER(2) ycoord ! y-coordinate
END TYPE xycoord
The xycoord type variable t, defined in DFLIB.F90 (in the \DF98\INCLUDE subdirectory), returns the physical coordinates of the previous viewport origin.
Compatibility
STANDARD GRAPHICS QUICKWIN GRAPHICS LIB
See Also: GETCURRENTPOSITION, GETPHYSCOORD, GETVIEWCOORD, GETWINDOWCOORD, GRSTATUS, SETCLIPRGN, SETVIEWPORT
Example
USE DFLIB
TYPE ( xycoord ) xy
CALL SETVIEWORG(INT2(30), INT2(30), xy)