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


Resources

This section describes the resources you can create to define bit patterns for use when drawing, painting, or filling. The pattern ('PAT ') resource defines a single bit pattern. The pattern list ('PAT#') resource defines an array of bit patterns.

A bit pattern is a 64-bit image, organized as an 8-by-8 pixel square, that defines a repeating design or tone. (Resources for color pixel patterns are described in the chapter "Color QuickDraw.")

This section describes the structures of these resources after they are compiled by the Rez resource compiler, available from APDA. To create pattern and pattern list resources, you typically use a high-level tool such as the ResEdit application. You can then use the DeRez decompiler to convert your resources into Rez input when necessary.


Subtopics
The Pattern Resource
The Pattern List Resource

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996