Method PhysicalScreen():pointToPixel() Foundation

Converts a point from logical to system coordinates.

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

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

Description

The method :pointToPixel() converts a point from the logical coordinates used by the application (points) to pixels. 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.