Important: The information in this document is obsolete and should not be used for new development.
NewTempScreenBuffer
TheNewGWorldfunction uses theNewTempScreenBufferfunction to create an offscreenPixMaprecord 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
TRUEto make the memory block for the offscreen pixel map purgeable, or a value ofFALSEto make it unpurgeable.gdh- The handle to the
GDevicerecord for the graphics device with the greatest pixel depth among all graphics devices whose boundary rectangles intersect the rectangle specified in theglobalRectparameter.offscreenPixMap- A handle to the new offscreen
PixMaprecord.DESCRIPTION
TheNewTempScreenBufferfunction performs the same functions asNewScreenBufferexcept that it creates the base address for the offscreen pixel image in temporary memory. When an application passes it theuseTempMemflag, theNewGWorldfunction usesNewTempScreenBufferinstead ofNewScreenBuffer.SPECIAL CONSIDERATIONS
TheNewTempScreenBufferfunction 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 theNewTempScreenBufferfunction are
Trap macro Selector _QDExtensions $000E0015