![]() |
NormalizeThemeDrawingState |
||||
Header: | Appearance.h | Carbon status: | Supported | |
Sets the current graphics port to a default drawing state.
OSStatus NormalizeThemeDrawingState ();
A result code.
The NormalizeThemeDrawingState function sets the background of a graphics port to white; the pen of the port to a size of 1 pixel by 1 pixel, a pattern mode of patCopy, and a pattern of black; and the text mode of the port to srcOr. NormalizeThemeDrawingState also flushes from memory any color foreground or background patterns saved in the ports GrafPort.pnPat or GrafPort.bkPat fields, respectively.
This function is available with Appearance Manager 1.1 and later.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)