Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Imaging With QuickDraw /
Chapter 3 - QuickDraw Drawing / QuickDraw Drawing Reference
Routines / Drawing Lines


MoveTo

To move the graphics pen to a particular location in the current graphics port, use the MoveTo procedure.

PROCEDURE MoveTo (h,v: Integer); 
h
The horizontal coordinate of the graphics pen's new position.
v
The vertical coordinate of the graphics pen's new position.
DESCRIPTION
The MoveTo procedure changes the graphics pen's current location to the new horizontal coordinate you specify in the h parameter and the new vertical coordinate you specify in the v parameter. Specify the new location in the local coordinates of the current graphics port. The MoveTo procedure performs no drawing.

SEE ALSO
Listing 3-1 on page 3-15 illustrates how to use this procedure.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996