![]() |
Point |
Header: MacTypes.h |
struct Point { SInt16 v; SInt16 h; }; typedef Point Cell;
The vertical coordinate of the point.
The horizontal coordinate of the point.
You use a point, which is a data structure of type Point, to specify a location on the QuickDraw coordinate plane. For example, the window origin is specified by the point in the upper-left corner of the port rectangle of a graphics port.
Note that while the vertical coordinate (v) appears first in this data structure, followed by the horizontal coordinate (h), the parameters to all QuickDraw functions expect the horizontal coordinate first and the vertical coordinate second.
© 2000 Apple Computer, Inc. (Last Updated 6/26/2000)