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 2 - Basic QuickDraw / Basic QuickDraw Reference
Routines / Manipulating Points in Graphics Ports


AddPt

To add the coordinates of two points, use the AddPt procedure.

PROCEDURE AddPt (srcPt: Point; VAR dstPt:\xDDPoint);
srcPt
A point, the coordinates of which are to be added to the point in the dstPt parameter.
dstPt
On input: a point, the coordinates of which are to be added to the point in the srcPt parameter. Upon completion: the result of adding the coordinates of the points in the srcPt and dstPt parameters.
DESCRIPTION
The AddPt procedure adds the coordinates of the point specified in the srcPt parameter to the coordinates of the point specified in the dstPt parameter, and returns the result in the dstPt parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996