Method PhysicalScreen():pixelToPoint() Foundation

Converts a point from system to logical coordinates.

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

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

Description

The method :pixelToPoint() converts a point from pixels to the logical units used by the application (points). The conversion is performed using the scale factor (DPI) set for the physical screen. See here for further information.

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.