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 (Windows version) - 18 Feb 2025 15:35:34