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 .

See the example file examples/capi/elements/convert-relative-position.lisp .

examples/capi/elements/convert-relative-position.lisp

top-level-interface-geometry with-geometry

CAPI Reference Manual - 15 Dec 2011