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


Data Structures

This section describes the data structures that represent a point, rectangle, region, bitmap, and basic graphics port.

You use the point (a data structure of type Point) to specify a location on the QuickDraw coordinate plane; two points are sufficient to define a rectangle. The rectangle (a data structure of type Rect) in turn assigns coordinates to boundaries and images; rectangles also bound graphic objects such as regions and ovals.

The region (a data structure of type Region) defines an arbitrary area, such as the visible and clipping regions of a window's graphics port.

The bitmap (a data structure of type BitMap) defines a physical bit image in terms of the QuickDraw coordinate plane.

The basic graphics port is a data structure (of type GrafPort) upon which your application builds windows.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996