blob: 83ead7f66c39f7ba42713d7c254e29a3be0f2878 [file] [log] [blame]
Jack Jansenab98ae92001-08-19 22:13:00 +00001# Generated from 'QuickDraw.h'
2
3
4def FOUR_CHAR_CODE(x): return x
5normal = 0
6bold = 1
7italic = 2
8underline = 4
9outline = 8
10shadow = 0x10
11condense = 0x20
12extend = 0x40
13invalColReq = -1
14srcCopy = 0
15srcOr = 1
16srcXor = 2
17srcBic = 3
18notSrcCopy = 4
19notSrcOr = 5
20notSrcXor = 6
21notSrcBic = 7
22patCopy = 8
23patOr = 9
24patXor = 10
25patBic = 11
26notPatCopy = 12
27notPatOr = 13
28notPatXor = 14
29notPatBic = 15
30grayishTextOr = 49
31hilitetransfermode = 50
32hilite = 50
33blend = 32
34addPin = 33
35addOver = 34
36subPin = 35
37addMax = 37
38adMax = 37
39subOver = 38
40adMin = 39
41ditherCopy = 64
42transparent = 36
43italicBit = 1
44ulineBit = 2
45outlineBit = 3
46shadowBit = 4
47condenseBit = 5
48extendBit = 6
49normalBit = 0
50inverseBit = 1
51redBit = 4
52greenBit = 3
53blueBit = 2
54cyanBit = 8
55magentaBit = 7
56yellowBit = 6
57blackBit = 5
58blackColor = 33
59whiteColor = 30
60redColor = 205
61greenColor = 341
62blueColor = 409
63cyanColor = 273
64magentaColor = 137
65yellowColor = 69
66picLParen = 0
67picRParen = 1
68clutType = 0
69fixedType = 1
70directType = 2
71gdDevType = 0
72interlacedDevice = 2
73roundedDevice = 5
74hasAuxMenuBar = 6
75burstDevice = 7
76ext32Device = 8
77ramInit = 10
78mainScreen = 11
79allInit = 12
80screenDevice = 13
81noDriver = 14
82screenActive = 15
83hiliteBit = 7
84pHiliteBit = 0
85defQDColors = 127
86RGBDirect = 16
87baseAddr32 = 4
88sysPatListID = 0
89iBeamCursor = 1
90crossCursor = 2
91plusCursor = 3
92watchCursor = 4
93kQDGrafVerbFrame = 0
94kQDGrafVerbPaint = 1
95kQDGrafVerbErase = 2
96kQDGrafVerbInvert = 3
97kQDGrafVerbFill = 4
98frame = kQDGrafVerbFrame
99paint = kQDGrafVerbPaint
100erase = kQDGrafVerbErase
101invert = kQDGrafVerbInvert
102fill = kQDGrafVerbFill
103chunky = 0
104chunkyPlanar = 1
105planar = 2
106singleDevicesBit = 0
107dontMatchSeedsBit = 1
108allDevicesBit = 2
109singleDevices = 1 << singleDevicesBit
110dontMatchSeeds = 1 << dontMatchSeedsBit
111allDevices = 1 << allDevicesBit
112kPrinterFontStatus = 0
113kPrinterScalingStatus = 1
114kNoConstraint = 0
115kVerticalConstraint = 1
116kHorizontalConstraint = 2
117k1MonochromePixelFormat = 0x00000001
118k2IndexedPixelFormat = 0x00000002
119k4IndexedPixelFormat = 0x00000004
120k8IndexedPixelFormat = 0x00000008
121k16BE555PixelFormat = 0x00000010
122k24RGBPixelFormat = 0x00000018
123k32ARGBPixelFormat = 0x00000020
124k1IndexedGrayPixelFormat = 0x00000021
125k2IndexedGrayPixelFormat = 0x00000022
126k4IndexedGrayPixelFormat = 0x00000024
127k8IndexedGrayPixelFormat = 0x00000028
128k16LE555PixelFormat = FOUR_CHAR_CODE('L555')
129k16LE5551PixelFormat = FOUR_CHAR_CODE('5551')
130k16BE565PixelFormat = FOUR_CHAR_CODE('B565')
131k16LE565PixelFormat = FOUR_CHAR_CODE('L565')
132k24BGRPixelFormat = FOUR_CHAR_CODE('24BG')
133k32BGRAPixelFormat = FOUR_CHAR_CODE('BGRA')
134k32ABGRPixelFormat = FOUR_CHAR_CODE('ABGR')
135k32RGBAPixelFormat = FOUR_CHAR_CODE('RGBA')
136kYUVSPixelFormat = FOUR_CHAR_CODE('yuvs')
137kYUVUPixelFormat = FOUR_CHAR_CODE('yuvu')
138kYVU9PixelFormat = FOUR_CHAR_CODE('YVU9')
139kYUV411PixelFormat = FOUR_CHAR_CODE('Y411')
140kYVYU422PixelFormat = FOUR_CHAR_CODE('YVYU')
141kUYVY422PixelFormat = FOUR_CHAR_CODE('UYVY')
142kYUV211PixelFormat = FOUR_CHAR_CODE('Y211')
143kCursorImageMajorVersion = 0x0001
144kCursorImageMinorVersion = 0x0000
145kQDParseRegionFromTop = (1 << 0)
146kQDParseRegionFromBottom = (1 << 1)
147kQDParseRegionFromLeft = (1 << 2)
148kQDParseRegionFromRight = (1 << 3)
149kQDParseRegionFromTopLeft = kQDParseRegionFromTop | kQDParseRegionFromLeft
150kQDParseRegionFromBottomRight = kQDParseRegionFromBottom | kQDParseRegionFromRight
151kQDRegionToRectsMsgInit = 1
152kQDRegionToRectsMsgParse = 2
153kQDRegionToRectsMsgTerminate = 3
154colorXorXFer = 52
155noiseXFer = 53
156customXFer = 54
157kXFer1PixelAtATime = 0x00000001
158kXFerConvertPixelToRGB32 = 0x00000002
159kCursorComponentsVersion = 0x00010001
160kCursorComponentType = FOUR_CHAR_CODE('curs')
161cursorDoesAnimate = 1L << 0
162cursorDoesHardware = 1L << 1
163cursorDoesUnreadableScreenBits = 1L << 2
164kRenderCursorInHardware = 1L << 0
165kRenderCursorInSoftware = 1L << 1
166kCursorComponentInit = 0x0001
167kCursorComponentGetInfo = 0x0002
168kCursorComponentSetOutputMode = 0x0003
169kCursorComponentSetData = 0x0004
170kCursorComponentReconfigure = 0x0005
171kCursorComponentDraw = 0x0006
172kCursorComponentErase = 0x0007
173kCursorComponentMove = 0x0008
174kCursorComponentAnimate = 0x0009
175kCursorComponentLastReserved = 0x0050
176# Generated from 'QuickDrawText.h'
177
178
179def FOUR_CHAR_CODE(x): return x
180normal = 0
181bold = 1
182italic = 2
183underline = 4
184outline = 8
185shadow = 0x10
186condense = 0x20
187extend = 0x40
188leftCaret = 0
189rightCaret = -1
190kHilite = 1
191smLeftCaret = 0
192smRightCaret = -1
193smHilite = 1
194onlyStyleRun = 0
195leftStyleRun = 1
196rightStyleRun = 2
197middleStyleRun = 3
198smOnlyStyleRun = 0
199smLeftStyleRun = 1
200smRightStyleRun = 2
201smMiddleStyleRun = 3
202tfAntiAlias = 1 << 0
203tfUnicode = 1 << 1