Important: The information in this document is obsolete and should not be used for new development.
GlobalToLocalTo convert the coordinates of a point from global coordinates to the local coordinates of the current graphics port (basic or color), use the
PROCEDURE GlobalToLocal (VAR pt: Point);
- The point whose global coordinates are to be converted to local coordinates.
GlobalToLocalprocedure takes a point expressed in global coordinates (where the upper-left corner of the main screen has coordinates [0,0]) and converts it into the local coordinates of the current graphics port.
SEE ALSOListing 2-4 on page 2-17 illustrates how to use
GlobalToLocalto convert a point in an event reported by the Event Manager function
WaitNextEventto local coordinates as required by the Control Manager function