Converts a screen position from one coordinate system to another.
capi
convert-relative-position from to x y => to-x, to-y
from⇩ |
A pane, interface or screen. |
to⇩ |
A pane, interface or screen. |
x⇩ |
An integer. |
y⇩ |
An integer. |
to-x |
An integer. |
to-y |
An integer. |
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")
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27