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 .

top-level-interface-geometry with-geometry