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 aCGrafPortrecord--and its handles to associatedPixMapandColorTablerecords--that describes an offscreen graphics port and contains references to aGDevicerecord 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 theNewGWorldfunction to create an offscreen world,NewGWorldreturns a pointer of typeGWorldPtrby which your application refers to the offscreen graphics world. This pointer is defined as follows:
TYPE GWorldPtr = CGrafPtr;On computers lacking Color QuickDraw,GWorldPtrpoints to an extension of theGrafPortrecord.