Important: The information in this document is obsolete and should not be used for new development.
NewGWorldfunction uses the
NewTempScreenBufferfunction to create an offscreen
PixMaprecord and allocate temporary memory for the base address of its pixel image; applications generally don't need to use
FUNCTION NewTempScreenBuffer (globalRect: Rect; purgeable: Boolean; VAR gdh: GDHandle; VAR offscreenPixMap: PixMapHandle): QDErr;
The boundary rectangle, in global coordinates, for the offscreen pixel map.
- A value of
TRUEto make the memory block for the offscreen pixel map purgeable, or a value of
FALSEto make it unpurgeable.
- 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 the
- A handle to the new offscreen
NewTempScreenBufferfunction performs the same functions as
NewScreenBufferexcept that it creates the base address for the offscreen pixel image in temporary memory. When an application passes it the
NewTempScreenBufferfunction may move or purge memory blocks in the application heap. Your application should not call this function at interrupt time.
ASSEMBLY-LANGUAGE INFORMATIONThe trap macro and routine selector for the
Trap macro Selector _QDExtensions $000E0015