• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# 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
73hwMirroredDevice = 4
74roundedDevice = 5
75hasAuxMenuBar = 6
76burstDevice = 7
77ext32Device = 8
78ramInit = 10
79mainScreen = 11
80allInit = 12
81screenDevice = 13
82noDriver = 14
83screenActive = 15
84hiliteBit = 7
85pHiliteBit = 0
86defQDColors = 127
87RGBDirect = 16
88baseAddr32 = 4
89sysPatListID = 0
90iBeamCursor = 1
91crossCursor = 2
92plusCursor = 3
93watchCursor = 4
94kQDGrafVerbFrame = 0
95kQDGrafVerbPaint = 1
96kQDGrafVerbErase = 2
97kQDGrafVerbInvert = 3
98kQDGrafVerbFill = 4
99frame = kQDGrafVerbFrame
100paint = kQDGrafVerbPaint
101erase = kQDGrafVerbErase
102invert = kQDGrafVerbInvert
103fill = kQDGrafVerbFill
104chunky = 0
105chunkyPlanar = 1
106planar = 2
107singleDevicesBit = 0
108dontMatchSeedsBit = 1
109allDevicesBit = 2
110singleDevices = 1 << singleDevicesBit
111dontMatchSeeds = 1 << dontMatchSeedsBit
112allDevices = 1 << allDevicesBit
113kPrinterFontStatus = 0
114kPrinterScalingStatus = 1
115kNoConstraint = 0
116kVerticalConstraint = 1
117kHorizontalConstraint = 2
118k1MonochromePixelFormat = 0x00000001
119k2IndexedPixelFormat = 0x00000002
120k4IndexedPixelFormat = 0x00000004
121k8IndexedPixelFormat = 0x00000008
122k16BE555PixelFormat = 0x00000010
123k24RGBPixelFormat = 0x00000018
124k32ARGBPixelFormat = 0x00000020
125k1IndexedGrayPixelFormat = 0x00000021
126k2IndexedGrayPixelFormat = 0x00000022
127k4IndexedGrayPixelFormat = 0x00000024
128k8IndexedGrayPixelFormat = 0x00000028
129k16LE555PixelFormat = FOUR_CHAR_CODE('L555')
130k16LE5551PixelFormat = FOUR_CHAR_CODE('5551')
131k16BE565PixelFormat = FOUR_CHAR_CODE('B565')
132k16LE565PixelFormat = FOUR_CHAR_CODE('L565')
133k24BGRPixelFormat = FOUR_CHAR_CODE('24BG')
134k32BGRAPixelFormat = FOUR_CHAR_CODE('BGRA')
135k32ABGRPixelFormat = FOUR_CHAR_CODE('ABGR')
136k32RGBAPixelFormat = FOUR_CHAR_CODE('RGBA')
137kYUVSPixelFormat = FOUR_CHAR_CODE('yuvs')
138kYUVUPixelFormat = FOUR_CHAR_CODE('yuvu')
139kYVU9PixelFormat = FOUR_CHAR_CODE('YVU9')
140kYUV411PixelFormat = FOUR_CHAR_CODE('Y411')
141kYVYU422PixelFormat = FOUR_CHAR_CODE('YVYU')
142kUYVY422PixelFormat = FOUR_CHAR_CODE('UYVY')
143kYUV211PixelFormat = FOUR_CHAR_CODE('Y211')
144k2vuyPixelFormat = FOUR_CHAR_CODE('2vuy')
145kCursorImageMajorVersion = 0x0001
146kCursorImageMinorVersion = 0x0000
147kQDParseRegionFromTop = (1 << 0)
148kQDParseRegionFromBottom = (1 << 1)
149kQDParseRegionFromLeft = (1 << 2)
150kQDParseRegionFromRight = (1 << 3)
151kQDParseRegionFromTopLeft = kQDParseRegionFromTop | kQDParseRegionFromLeft
152kQDParseRegionFromBottomRight = kQDParseRegionFromBottom | kQDParseRegionFromRight
153kQDRegionToRectsMsgInit = 1
154kQDRegionToRectsMsgParse = 2
155kQDRegionToRectsMsgTerminate = 3
156colorXorXFer = 52
157noiseXFer = 53
158customXFer = 54
159kXFer1PixelAtATime = 0x00000001
160kXFerConvertPixelToRGB32 = 0x00000002
161kCursorComponentsVersion = 0x00010001
162kCursorComponentType = FOUR_CHAR_CODE('curs')
163cursorDoesAnimate = 1L << 0
164cursorDoesHardware = 1L << 1
165cursorDoesUnreadableScreenBits = 1L << 2
166kRenderCursorInHardware = 1L << 0
167kRenderCursorInSoftware = 1L << 1
168kCursorComponentInit = 0x0001
169kCursorComponentGetInfo = 0x0002
170kCursorComponentSetOutputMode = 0x0003
171kCursorComponentSetData = 0x0004
172kCursorComponentReconfigure = 0x0005
173kCursorComponentDraw = 0x0006
174kCursorComponentErase = 0x0007
175kCursorComponentMove = 0x0008
176kCursorComponentAnimate = 0x0009
177kCursorComponentLastReserved = 0x0050
178# Generated from 'QuickDrawText.h'
179
180
181def FOUR_CHAR_CODE(x): return x
182normal                                          = 0
183bold                                            = 1
184italic                                          = 2
185underline                                       = 4
186outline                                         = 8
187shadow                                          = 0x10
188condense                                        = 0x20
189extend                                          = 0x40
190leftCaret = 0
191rightCaret = -1
192kHilite = 1
193smLeftCaret = 0
194smRightCaret = -1
195smHilite = 1
196onlyStyleRun = 0
197leftStyleRun = 1
198rightStyleRun = 2
199middleStyleRun = 3
200smOnlyStyleRun = 0
201smLeftStyleRun = 1
202smRightStyleRun = 2
203smMiddleStyleRun = 3
204truncEnd = 0
205truncMiddle = 0x4000
206smTruncEnd = 0
207smTruncMiddle = 0x4000
208notTruncated = 0
209truncated = 1
210truncErr = -1
211smNotTruncated = 0
212smTruncated = 1
213smTruncErr = -1
214smBreakWord = 0
215smBreakChar = 1
216smBreakOverflow = 2
217tfAntiAlias = 1 << 0
218tfUnicode = 1 << 1
219