NextPrevUpTopContentsIndex

convert-relative-position

Function
Summary

Converts a screen position from one coordinate system to another.

Package

capi

Signature

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

Arguments

from

A pane, interface or screen.

to

A pane, interface or screen.

x

An integer.

y

An integer.

Values

to-x

An integer.

to-y

An integer.

Description

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

Example

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

See also

top-level-interface-geometry
with-geometry


LispWorks CAPI Reference Manual - 17 Mar 2008

NextPrevUpTopContentsIndex