the usual (part II)
[python/dscho.git] / Mac / Lib / lib-toolbox / QuickDraw.py
bloba8ce68cc1448c9a289b448720459eebd33dce363
1 # Generated from 'Macintosh HD:SWDev:Codewarrior Pro 5:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:QuickDraw.h'
4 def FOUR_CHAR_CODE(x): return x
5 normal = 0
6 bold = 1
7 italic = 2
8 underline = 4
9 outline = 8
10 shadow = 0x10
11 condense = 0x20
12 extend = 0x40
13 invalColReq = -1
14 srcCopy = 0
15 srcOr = 1
16 srcXor = 2
17 srcBic = 3
18 notSrcCopy = 4
19 notSrcOr = 5
20 notSrcXor = 6
21 notSrcBic = 7
22 patCopy = 8
23 patOr = 9
24 patXor = 10
25 patBic = 11
26 notPatCopy = 12
27 notPatOr = 13
28 notPatXor = 14
29 notPatBic = 15
30 grayishTextOr = 49
31 hilitetransfermode = 50
32 hilite = 50
33 blend = 32
34 addPin = 33
35 addOver = 34
36 subPin = 35
37 addMax = 37
38 adMax = 37
39 subOver = 38
40 adMin = 39
41 ditherCopy = 64
42 transparent = 36
43 italicBit = 1
44 ulineBit = 2
45 outlineBit = 3
46 shadowBit = 4
47 condenseBit = 5
48 extendBit = 6
49 normalBit = 0
50 inverseBit = 1
51 redBit = 4
52 greenBit = 3
53 blueBit = 2
54 cyanBit = 8
55 magentaBit = 7
56 yellowBit = 6
57 blackBit = 5
58 blackColor = 33
59 whiteColor = 30
60 redColor = 205
61 greenColor = 341
62 blueColor = 409
63 cyanColor = 273
64 magentaColor = 137
65 yellowColor = 69
66 picLParen = 0
67 picRParen = 1
68 clutType = 0
69 fixedType = 1
70 directType = 2
71 gdDevType = 0
72 interlacedDevice = 2
73 roundedDevice = 5
74 hasAuxMenuBar = 6
75 burstDevice = 7
76 ext32Device = 8
77 ramInit = 10
78 mainScreen = 11
79 allInit = 12
80 screenDevice = 13
81 noDriver = 14
82 screenActive = 15
83 hiliteBit = 7
84 pHiliteBit = 0
85 defQDColors = 127
86 RGBDirect = 16
87 baseAddr32 = 4
88 sysPatListID = 0
89 iBeamCursor = 1
90 crossCursor = 2
91 plusCursor = 3
92 watchCursor = 4
93 kQDGrafVerbFrame = 0
94 kQDGrafVerbPaint = 1
95 kQDGrafVerbErase = 2
96 kQDGrafVerbInvert = 3
97 kQDGrafVerbFill = 4
98 frame = kQDGrafVerbFrame
99 paint = kQDGrafVerbPaint
100 erase = kQDGrafVerbErase
101 invert = kQDGrafVerbInvert
102 fill = kQDGrafVerbFill
103 chunky = 0
104 chunkyPlanar = 1
105 planar = 2
106 singleDevicesBit = 0
107 dontMatchSeedsBit = 1
108 allDevicesBit = 2
109 singleDevices = 1 << singleDevicesBit
110 dontMatchSeeds = 1 << dontMatchSeedsBit
111 allDevices = 1 << allDevicesBit
112 kPrinterFontStatus = 0
113 kPrinterScalingStatus = 1
114 kNoConstraint = 0
115 kVerticalConstraint = 1
116 kHorizontalConstraint = 2
117 k1MonochromePixelFormat = 0x00000001
118 k2IndexedPixelFormat = 0x00000002
119 k4IndexedPixelFormat = 0x00000004
120 k8IndexedPixelFormat = 0x00000008
121 k16BE555PixelFormat = 0x00000010
122 k24RGBPixelFormat = 0x00000018
123 k32ARGBPixelFormat = 0x00000020
124 k1IndexedGrayPixelFormat = 0x00000021
125 k2IndexedGrayPixelFormat = 0x00000022
126 k4IndexedGrayPixelFormat = 0x00000024
127 k8IndexedGrayPixelFormat = 0x00000028
128 k16LE555PixelFormat = FOUR_CHAR_CODE('L555')
129 k16BE565PixelFormat = FOUR_CHAR_CODE('B565')
130 k16LE565PixelFormat = FOUR_CHAR_CODE('L565')
131 k24BGRPixelFormat = FOUR_CHAR_CODE('24BG')
132 k32BGRAPixelFormat = FOUR_CHAR_CODE('BGRA')
133 k32ABGRPixelFormat = FOUR_CHAR_CODE('ABGR')
134 k32RGBAPixelFormat = FOUR_CHAR_CODE('RGBA')
135 kYUVSPixelFormat = FOUR_CHAR_CODE('yuvs')
136 kYUVUPixelFormat = FOUR_CHAR_CODE('yuvu')
137 kYVU9PixelFormat = FOUR_CHAR_CODE('YVU9')
138 kYUV411PixelFormat = FOUR_CHAR_CODE('Y411')
139 kYVYU422PixelFormat = FOUR_CHAR_CODE('YVYU')
140 kUYVY422PixelFormat = FOUR_CHAR_CODE('UYVY')
141 kYUV211PixelFormat = FOUR_CHAR_CODE('Y211')
142 kCursorImageMajorVersion = 0x0001
143 kCursorImageMinorVersion = 0x0000
144 # Generated from 'Macintosh HD:SWDev:Codewarrior Pro 5:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:QuickDrawText.h'
147 def FOUR_CHAR_CODE(x): return x
148 normal = 0
149 bold = 1
150 italic = 2
151 underline = 4
152 outline = 8
153 shadow = 0x10
154 condense = 0x20
155 extend = 0x40
156 leftCaret = 0
157 rightCaret = -1
158 kHilite = 1
159 smLeftCaret = 0
160 smRightCaret = -1
161 smHilite = 1
162 onlyStyleRun = 0
163 leftStyleRun = 1
164 rightStyleRun = 2
165 middleStyleRun = 3
166 smOnlyStyleRun = 0
167 smLeftStyleRun = 1
168 smRightStyleRun = 2
169 smMiddleStyleRun = 3