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 theEraseRect
procedure, described in the chapter "QuickDraw Drawing") and when pixels are scrolled out of an area (such as by using theScrollRect
procedure, described in the chapter "Basic QuickDraw"). The background pattern is stored in thebkPixPat
field of everyCGrafPort
record. You can use theBackPixPat
procedure to change the pixel pattern used as the background color by the current color graphics port.
Subtopics
- BackPixPat