Graphics Subroutine: Converts viewport coordinates to window coordinates.
USE IFQWIN
CALL GETWINDOWCOORD (x,y,wt)
x, y |
(Input) INTEGER(2). Viewport coordinates to be converted to window coordinates. |
wt |
(Output) Derived type wxycoord. Window coordinates. The wxycoord derived type is defined in IFQWIN.F90 as follows: |
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.
STANDARD GRAPHICS QUICKWIN GRAPHICS LIB
See the example program in GETPHYSCOORD.
Copyright © 1996-2011, Intel Corporation. All rights reserved.