Important: The information in this document is obsolete and should not be used for new development.
GetGWorldDevicefunction to obtain a handle to the
GDevicerecord associated with an offscreen graphics world.
FUNCTION GetGWorldDevice (offscreenGWorld: GWorldPtr): GDHandle;
- A pointer to an offscreen graphics world. The pointer returned to your application by the
GetGWorldDevicefunction returns a handle to the
GDevicerecord associated with the offscreen graphics world specified by the
offscreenGWorldparameter. In this parameter, supply the pointer returned to your application by the
NewGWorldfunction when you created the offscreen graphics world. If you created the offscreen world by specifying the
GDevicerecord is for one of the screen devices or is the
GDevicerecord that you specified to
If you point to a
CGrafPortrecord in the
GetGWorldDevicereturns the current device.
GetGWorldDevicefunction may move or purge memory blocks in the application heap. Your application should not call this function at interrupt time.
ASSEMBLY-LANGUAGE INFORMATIONThe trap macro and routine selector for the
Trap macro Selector _QDExtensions $00040012