Important: The information in this document is obsolete and should not be used for new development.
Changing the Background Pixel PatternEach graphics port has a background pattern that's used when an area is erased (such as by using the
EraseRectprocedure, described in the chapter "QuickDraw Drawing") and when pixels are scrolled out of an area (such as by using the
ScrollRectprocedure, described in the chapter "Basic QuickDraw"). The background pattern is stored in the
bkPixPatfield of every
CGrafPortrecord. You can use the
BackPixPatprocedure to change the pixel pattern used as the background color by the current color graphics port.