Changing the Background Pixel Pattern
Each graphics port has a background pattern that's used when an area is erased (such as by using theEraseRectprocedure, described in the chapter "QuickDraw Drawing") and when pixels are scrolled out of an area (such as by using theScrollRectprocedure, described in the chapter "Basic QuickDraw"). The background pattern is stored in thebkPixPatfield of everyCGrafPortrecord. You can use theBackPixPatprocedure to change the pixel pattern used as the background color by the current color graphics port.
Subtopics
- BackPixPat
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help