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
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help