Graphics Subroutine: Translates viewport coordinates to window coordinates.
Module: USE DFLIB
Syntax
TYPE wxycoord
REAL(8) wx ! x-coordinate
REAL(8) wy ! y-coordinate
END TYPE wxycoord
Physical coordinates refer to the physical screen. Viewport coordinates refer to an area of the screen defined as the viewport with SETVIEWPORT. Both take integer coordinate values. Window coordinates refer to a window sized with SETWINDOW or SETWSIZEQQ. Window coordinates are floating-point values and allow easy scaling of data to the window area. For a more complete discussion of coordinate systems, see Understanding Coordinate Systems in the Programmer's Guide.
Compatibility
STANDARD GRAPHICS QUICKWIN GRAPHICS LIB
See Also: GETCURRENTPOSITION, GETPHYSCOORD, GETVIEWCOORD, MOVETO, SETVIEWPORT, SETWINDOW
Example
See the example program in GETPHYSCOORD.