qw2xy.gsf
Name
qw2xy() - Convert from world coordinate to XY coordinate on the drawing display.
Synopsis
ret = qw2xy( wx, wy )
Options and Return values
- wx, wy
- World coordinate.
- ret
- XY coordinate.
Examples
(1) Draw string by latitude/longitude.
-
test.gs
'reinit' rc = gsfallow( 'on' ) 'open t' 'd t' 'setfont normal -base l' 'draw string 'qw2xy( 140.5, 38 )' <- Sendai'
Script source code
- qw2xy.gsf (necessary)
- qgxinfo.gsf (necessary)