BuildCubeE/MPW-3.2.3/Interfaces/AIncludes/QDOffscreenEqu.a
2019-01-13 15:57:32 +08:00

59 lines
2.2 KiB
Plaintext

; Version: 3.14
; Created: Friday, October 20, 1989 at 9:42:37 PM
;
; File: QDOffscreenEqu.a
;
; Assembler Interface to the Macintosh Libraries
; Copyright Apple Computer, Inc. 1985-1990
; All rights reserved
;
;___________________________________________________________________________
;
; Offscreen Equates -- This file defines the public equates for Offscreen
; routines.
;___________________________________________________________________________
IF &TYPE('__IncludingQDOffscreenEqu__') = 'UNDEFINED' THEN
__IncludingQDOffscreenEqu__ SET 1
; New Error codes
cDepthErr EQU -157 ; invalid pixel depth
; Flag bits passed to or returned by UpdateGWorld
purgePixBit EQU 0 ; make the offscreen buffer purgeable
noNewDeviceBit EQU 1 ; don't create an offscreen device
useTempMemBit EQU 2 ; create the buffer in MF temp. memory
keepLocalBit EQU 3 ; keep buffer in main memory
pixelsPurgeableBit EQU 6 ; pixels are purgeable
pixelsLockedBit EQU 7 ; pixels are locked
mapPixBit EQU 16 ; set if color table mapping occurred
newDepthBit EQU 17 ; set if pixels were scaled to a different depth
alignPixBit EQU 18 ; set if pixels were realigned to screen alignment
newRowBytesBit EQU 19 ; set if pixmap was reconfigured in a new rowBytes
reallocPixBit EQU 20 ; set if offscreen buffer had to be reallocated
clipPixBit EQU 28 ; set if pixels were or are to be clipped
stretchPixBit EQU 29 ; set if pixels were or are to be stretched/shrinked
ditherPixBit EQU 30 ; set if pixels were or are to be dithered
gwFlagErrBit EQU 31 ; sign bit set indicates error
; Mask equivalents of the above bits
purgePix EQU $1
noNewDevice EQU $2
useTempMem EQU $4
keepLocal EQU $8
pixelsPurgeable EQU $40
pixelsLocked EQU $80
mapPix EQU $10000
newDepth EQU $20000
alignPix EQU $40000
newRowBytes EQU $80000
reallocPix EQU $100000
clipPix EQU $10000000
stretchPix EQU $20000000
ditherPix EQU $40000000
gwFlagErr EQU $80000000
ENDIF ; ...already included