qxy2w.gsf
Name
qxy2w() - Convert from XY coordinate to world coordinate on the drawing display.
Synopsis
ret = qxy2w( x, y )
Options and Return values
- x, y
- XY coordinate.
- ret
- World coordinate.
Examples
(1) Obtain latitude/longitude for the XY coordinate on drawing display.
-
test.gs
'reinit'
rc = gsfallow( 'on' ) 'open t' 'd t' say qxy2w( 5.5, 4 )
-
console
ga-> test 180 -7.5
Script source code
- qxy2w.gsf (necessary)
- qgxinfo.gsf (necessary)