useTempMemBit
Type Definitions
GDevice stored information necessary to communicate with a graphic
device
GWorldPtr pointer to offscreen GWorld
typedef unsigned long GWorldFlags;
pixPurgeBit 0
noNewDeviceBit 1
useTempMemBit 2
keepLocalBit 3
pixelsPurgeableBit 6
pixelsLockedBit 7
mapPixBit 16
newDepthBit 17
alignPixBit 18
newRowBytesBit 19
reallocPixBit 20
clipPixBit 28
stretchPixBit 29
ditherPixBit 30
gwFlagErrBit 31
pixPurge 1 << pixPurgeBit used by NewGWorld to make offscreen
buffer purgeable
noNewDevice 1 << noNewDeviceBit used by NewGWorld to not create an
offscreen device
useTempMem 1 << useTempMemBit used by NewGWorld to allocate pixels
in temporary memory
keepLocal 1 << keepLocalBit used to keep data structures in main
memory
pixelsPurgeable 1 << pixelsPurgeableBit used by GetPixelsState and
SetPixelsState for purgeable pixels
pixelsLocked 1 << pixelsLockedBit used by GetPixelsState and
SetPixelsState for locked pixels
maxPix 1 << maxPixBit set by UpdateGWorld if color mapping
occurred
newDepth 1 << newDepthBit set by UpdateGWorld if pixels were
scaled to a different depth
alignPix 1 << alignPixBit set by UpdateGWorld if pixels were
realigned to screen alignment
newRowBytes 1 << newRowBytesBit set by UpdateGWorld if pixel map was
reconfigured in a new rowBytes
reallocPix 1 << reallocPixBit set by UpdateGWorld if offset buffer
had to be re allocated
clipPix 1 << clipPixBit used by UpdateGWorld to clip pixels
stretchPix 1 << stretchPixBit used by UpdateGWorld to stretch or
shrink pixels
ditherPix 1 << ditherPixBit used by UpdateGWorld to dither pixels
gwFlagErr 1 << gwFlagErrBit set by UpdateGWorld if it failed
Variables
Name Address Size Description
TheGDevice 0xCC8 4 handle to current active device