Important: The information in this document is obsolete and should not be used for new development.
Getting Pattern Resources
As described in "Bit Patterns" beginning on page 3-5, QuickDraw predefines five patterns for your use in the global variableswhite,black,gray,ltGray, anddkGray. 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 theGetPatternfunction. To retrieve the patterns stored in a pattern list ('PAT#') resource, you can use theGetIndPatternprocedure.
Subtopics
- GetPattern
- GetIndPattern