Converts a screen position from one coordinate system to another.

capi

convert-relative-position from to x y => to-x , to-y

convert-relative-position

from

A pane, interface or screen.

to

x

An integer.

y

to-x

to-y

The function convert-relative-position converts the position x , y in the coordinate system of from to that of to .

(example-edit-file "capi/elements/convert-relative-position")

top-level-interface-geometry with-geometry

CAPI User Guide and Reference Manual (Macintosh version) - 25 Feb 2015