NewScreenBuffer
NewScreenBuffer Allocate an offscreen PixMap and an offscreen buffer
#include <QDOff screen.h> Graphics Devices
QDErr NewScreenBuffer( globalRect, purgeable, gdh, off screenPixMap);
Rect * globalRect ; intersection rectangle
Boolean purgeable ; make offscreen buffer purgeable?
GDHandle *gdh ; receives handle to deepest GDevice
PixMapHandle *off screenPixMap ; receives new offscreen PixMap
NewScreenBuffer allocates an offscreen PixMap and an offscreen buffer,
using the depth and color table of the deepest device intersecting with the global
rectangle in screen space. A handle to that device is returned in gdh, and a
handle to the offscreen pixel map is returned in off screenPixMap. If purgeable
is TRUE, the offscreen buffer is made purgeable.
Returns: an Error Code. It is one of:
noErr (0) No error
paramErr (-50) Illegal parameter
cNoMemErr (-152) Failed to allocate memory for structures