Method VirtualScreen():pixelToPoint() Foundation

Convert a point from system to logical coordinates.

Syntax
:pixelToPoint( <aPixel> ) --> aPoint
Parameters
<aPixel>
An array with the x and y coordinates of the point in pixels.
Return

An array with the x and y coordinate of the converted point.

Description

Convert a point from pixels to the logical coordinates used by the application (points). The conversion is automatically performed on the physical screen containing the point, see PhysicalScreen:pixelToPoint().

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.