global-to-local in editor<%>
Converts the given coordinates from top-level display coordinates
(usually canvas coordinates) to editor location coordinates. The
same calculation is performed by
dc-location-to-editor-location.
The result is only valid when the editor is displayed (see Basic Organization).
See also
local-to-global.
( -> void
send an-editor global-to-local x y)
x : boxed real number or #f
y : boxed real number or #f
The x box is filled with the translated x-coordinate of the value initially
in x, unless
x is #f.
The y box is filled with the translated x-coordinate of the value initially
in y, unless
y is #f.