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


SetPt

To assign two coordinates to a point, use the SetPt procedure.

PROCEDURE SetPt (VAR pt:\xDDPoint; h,v:\xDDInteger);
pt
The point to be given new coordinates.
h
The horizontal value of the new coordinates.
v
The vertical value of the new coordinates.
DESCRIPTION
The SetPt procedure assigns the horizontal coordinate specified in the h parameter and the vertical coordinate specified in the v parameter to the point returned in the pt parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996