Fix an amazing number of typos & malformed sentences reported by Detlef
[python/dscho.git] / Mac / Lib / lib-toolbox / QuickDraw.py
blob8983ccaa3fac2a16e5a092f9d844a01f012e653d
1 # Generated from 'flap:CodeWarrior Pro 4:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers: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 kNoConstraint = 0
113 kVerticalConstraint = 1
114 kHorizontalConstraint = 2
115 k1MonochromePixelFormat = 0x00000001
116 k2IndexedPixelFormat = 0x00000002
117 k4IndexedPixelFormat = 0x00000004
118 k8IndexedPixelFormat = 0x00000008
119 k16BE555PixelFormat = 0x00000010
120 k24RGBPixelFormat = 0x00000018
121 k32ARGBPixelFormat = 0x00000020
122 k1IndexedGrayPixelFormat = 0x00000021
123 k2IndexedGrayPixelFormat = 0x00000022
124 k4IndexedGrayPixelFormat = 0x00000024
125 k8IndexedGrayPixelFormat = 0x00000028
126 k16LE555PixelFormat = FOUR_CHAR_CODE('L555')
127 k16BE565PixelFormat = FOUR_CHAR_CODE('B565')
128 k16LE565PixelFormat = FOUR_CHAR_CODE('L565')
129 k24BGRPixelFormat = FOUR_CHAR_CODE('24BG')
130 k32BGRAPixelFormat = FOUR_CHAR_CODE('BGRA')
131 k32ABGRPixelFormat = FOUR_CHAR_CODE('ABGR')
132 k32RGBAPixelFormat = FOUR_CHAR_CODE('RGBA')
133 kYUVSPixelFormat = FOUR_CHAR_CODE('yuvs')
134 kYUVUPixelFormat = FOUR_CHAR_CODE('yuvu')
135 kYVU9PixelFormat = FOUR_CHAR_CODE('YVU9')
136 kYUV411PixelFormat = FOUR_CHAR_CODE('Y411')
137 kYVYU422PixelFormat = FOUR_CHAR_CODE('YVYU')
138 kUYVY422PixelFormat = FOUR_CHAR_CODE('UYVY')
139 kYUV211PixelFormat = FOUR_CHAR_CODE('Y211')
140 kCursorImageMajorVersion = 0x0001
141 kCursorImageMinorVersion = 0x0000
142 # Generated from 'flap:CodeWarrior Pro 4:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:QuickDrawText.h'
145 def FOUR_CHAR_CODE(x): return x
146 normal = 0
147 bold = 1
148 italic = 2
149 underline = 4
150 outline = 8
151 shadow = 0x10
152 condense = 0x20
153 extend = 0x40
154 leftCaret = 0
155 rightCaret = -1
156 kHilite = 1
157 smLeftCaret = 0
158 smRightCaret = -1
159 smHilite = 1
160 onlyStyleRun = 0
161 leftStyleRun = 1
162 rightStyleRun = 2
163 middleStyleRun = 3
164 smOnlyStyleRun = 0
165 smLeftStyleRun = 1
166 smRightStyleRun = 2
167 smMiddleStyleRun = 3