Important: The information in this document is obsolete and should not be used for new development.
Saving and Restoring Graphics Ports and Offscreen Graphics WorldsTo save the current graphics port (basic, color, or offscreen) and the current
GDevicerecord, use the
GetGWorldprocedure. To change the current graphics port (basic, color, or offscreen), use the
SetGWorldprocedure; any drawing your application performs then occurs in this graphics port.
You can use the
GetGWorldDevicefunction to obtain a handle to the
GDevicerecord associated with an offscreen graphics world.