Important: The information in this document is obsolete and should not be used for new development.
GWorldPtr
An offscreen graphics world in Color QuickDraw contains aCGrafPort
record--and its handles to associatedPixMap
andColorTable
records--that describes an offscreen graphics port and contains references to aGDevice
record and other state information. The actual data structure for an offscreen graphics world is kept private to allow for future extensions. However, when your application uses theNewGWorld
function to create an offscreen world,NewGWorld
returns a pointer of typeGWorldPtr
by which your application refers to the offscreen graphics world. This pointer is defined as follows:
TYPE GWorldPtr = CGrafPtr;On computers lacking Color QuickDraw,GWorldPtr
points to an extension of theGrafPort
record.