All Databases
Inside Mac - Basic Toolbox
NewTempScreenBuffer
InitGDevice
SetGDevice
DisposGDevice
GetDeviceList
GetMainDevice
NewGDevice
SetDeviceAttribute
GetMaxDevice
GetNextDevice
The 'scrn' Resource
Setting a Device's Pixel Depth
About Graphics Devices
UnlockPixels
AllowPurgePixels
NoPurgePixels
GetPixelsState
SetPixelsState
GetPixBaseAddr
PixMap32Bit
SetGWorld
GetGWorld
GetGWorldDevice
GetGWorldPixMap
DisposeGWorld
NewTempScreenBuffer
Allocate an offscreen PixMap and an off screen
buffer
#include <
QDOff screen.h
>
Graphics Devices
QDErr
NewTempScreenBuffer
(
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
NewTempScreenBuffer
performs the same functions as
NewScreenBuffer
except that it allocates pixels in temporary memory.
Returns
: an
Error Code
. It is one of:
noErr (0) No error
paramErr (-50) Illegal parameter
cNoMemErr (-152) Failed to allocate memory for structures
Referenced by (1):
Graphics Devices Manager (Inside Mac - Index)