Important: The information in this document is obsolete and should not be used for new development.
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