Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a4e6ae6

Browse files
committed
Offscreen bitmap support, first stab. PixMaps are still treated as ordinary
handles, not fullblown python objects, and UpdateGWorld returns a new GWorld object in stead of modifying the existing one.
1 parent 6a51b37 commit a4e6ae6

4 files changed

Lines changed: 775 additions & 0 deletions

File tree

Mac/Lib/lib-toolbox/QDOffscreen.py

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Generated from 'Moes:Codewarrior Pro 4:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:QDOffscreen.h'
2+
3+
def FOUR_CHAR_CODE(x): return x
4+
pixPurgeBit = 0
5+
noNewDeviceBit = 1
6+
useTempMemBit = 2
7+
keepLocalBit = 3
8+
pixelsPurgeableBit = 6
9+
pixelsLockedBit = 7
10+
mapPixBit = 16
11+
newDepthBit = 17
12+
alignPixBit = 18
13+
newRowBytesBit = 19
14+
reallocPixBit = 20
15+
clipPixBit = 28
16+
stretchPixBit = 29
17+
ditherPixBit = 30
18+
gwFlagErrBit = 31
19+
pixPurge = 1L << pixPurgeBit
20+
noNewDevice = 1L << noNewDeviceBit
21+
useTempMem = 1L << useTempMemBit
22+
keepLocal = 1L << keepLocalBit
23+
pixelsPurgeable = 1L << pixelsPurgeableBit
24+
pixelsLocked = 1L << pixelsLockedBit
25+
kAllocDirectDrawSurface = 1L << 14
26+
mapPix = 1L << mapPixBit
27+
newDepth = 1L << newDepthBit
28+
alignPix = 1L << alignPixBit
29+
newRowBytes = 1L << newRowBytesBit
30+
reallocPix = 1L << reallocPixBit
31+
clipPix = 1L << clipPixBit
32+
stretchPix = 1L << stretchPixBit
33+
ditherPix = 1L << ditherPixBit
34+
gwFlagErr = 1L << gwFlagErrBit

0 commit comments

Comments
 (0)