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


Move

To move the graphics pen a particular distance, use the Move procedure.

PROCEDURE Move (dh,dv: Integer); 
dh
The horizontal distance of the graphics pen's movement.
dv
The vertical distance of the graphics pen's movement.
DESCRIPTION
The Move procedure moves the graphics pen from its current location in the current graphics port a horizontal distance that you specify in the dh parameter and a vertical distance that you specify in the dv parameter. The Move procedure calls

MoveTo(h+dh,v+dv)
where (h,v) is the graphics pen's current location in local coordinates. The Move 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