Method VirtualScreen():pointToPixel() Foundation

Convert a point from logical to system coordinates.

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

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

Description

Convert a point from the logical coordinates used by the application (points) to pixels. 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.