Important: The information in this document is obsolete and should not be used for new development.
NewTempScreenBuffer
TheNewGWorld
function uses theNewTempScreenBuffer
function to create an offscreenPixMap
record and allocate temporary memory for the base address of its pixel image; applications generally don't need to useNewTempScreenBuffer
.
FUNCTION NewTempScreenBuffer (globalRect: Rect; purgeable: Boolean; VAR gdh: GDHandle; VAR offscreenPixMap: PixMapHandle): QDErr;
globalRect
The boundary rectangle, in global coordinates, for the offscreen pixel map.purgeable
- A value of
TRUE
to make the memory block for the offscreen pixel map purgeable, or a value ofFALSE
to make it unpurgeable.gdh
- The handle to the
GDevice
record for the graphics device with the greatest pixel depth among all graphics devices whose boundary rectangles intersect the rectangle specified in theglobalRect
parameter.offscreenPixMap
- A handle to the new offscreen
PixMap
record.DESCRIPTION
TheNewTempScreenBuffer
function performs the same functions asNewScreenBuffer
except that it creates the base address for the offscreen pixel image in temporary memory. When an application passes it theuseTempMem
flag, theNewGWorld
function usesNewTempScreenBuffer
instead ofNewScreenBuffer
.SPECIAL CONSIDERATIONS
TheNewTempScreenBuffer
function may move or purge memory blocks in the application heap. Your application should not call this function at interrupt time.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theNewTempScreenBuffer
function are
Trap macro Selector _QDExtensions $000E0015