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
Routines


Getting Pattern Resources

As described in "Bit Patterns" beginning on page 3-5, QuickDraw predefines five patterns for your use in the global variables white, black, gray, ltGray, and dkGray. However, you can create and store your own patterns in a resource file. To retrieve the patterns stored in a pattern ('PAT ') resource, you can use the GetPattern function. To retrieve the patterns stored in a pattern list ('PAT#') resource, you can use the GetIndPattern procedure.


Subtopics
GetPattern
GetIndPattern

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996