_make_boundary(): Fix for SF bug #745478, broken boundary calculation
[python/dscho.git] / Lib / plat-mac / Carbon / QuickDraw.py
blob38d84519dc39cb4aba665706b11d8c262c6b9c5d
1 # Generated from '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 k16LE5551PixelFormat = FOUR_CHAR_CODE('5551')
130 k16BE565PixelFormat = FOUR_CHAR_CODE('B565')
131 k16LE565PixelFormat = FOUR_CHAR_CODE('L565')
132 k24BGRPixelFormat = FOUR_CHAR_CODE('24BG')
133 k32BGRAPixelFormat = FOUR_CHAR_CODE('BGRA')
134 k32ABGRPixelFormat = FOUR_CHAR_CODE('ABGR')
135 k32RGBAPixelFormat = FOUR_CHAR_CODE('RGBA')
136 kYUVSPixelFormat = FOUR_CHAR_CODE('yuvs')
137 kYUVUPixelFormat = FOUR_CHAR_CODE('yuvu')
138 kYVU9PixelFormat = FOUR_CHAR_CODE('YVU9')
139 kYUV411PixelFormat = FOUR_CHAR_CODE('Y411')
140 kYVYU422PixelFormat = FOUR_CHAR_CODE('YVYU')
141 kUYVY422PixelFormat = FOUR_CHAR_CODE('UYVY')
142 kYUV211PixelFormat = FOUR_CHAR_CODE('Y211')
143 k2vuyPixelFormat = FOUR_CHAR_CODE('2vuy')
144 kCursorImageMajorVersion = 0x0001
145 kCursorImageMinorVersion = 0x0000
146 kQDParseRegionFromTop = (1 << 0)
147 kQDParseRegionFromBottom = (1 << 1)
148 kQDParseRegionFromLeft = (1 << 2)
149 kQDParseRegionFromRight = (1 << 3)
150 kQDParseRegionFromTopLeft = kQDParseRegionFromTop | kQDParseRegionFromLeft
151 kQDParseRegionFromBottomRight = kQDParseRegionFromBottom | kQDParseRegionFromRight
152 kQDRegionToRectsMsgInit = 1
153 kQDRegionToRectsMsgParse = 2
154 kQDRegionToRectsMsgTerminate = 3
155 colorXorXFer = 52
156 noiseXFer = 53
157 customXFer = 54
158 kXFer1PixelAtATime = 0x00000001
159 kXFerConvertPixelToRGB32 = 0x00000002
160 kCursorComponentsVersion = 0x00010001
161 kCursorComponentType = FOUR_CHAR_CODE('curs')
162 cursorDoesAnimate = 1L << 0
163 cursorDoesHardware = 1L << 1
164 cursorDoesUnreadableScreenBits = 1L << 2
165 kRenderCursorInHardware = 1L << 0
166 kRenderCursorInSoftware = 1L << 1
167 kCursorComponentInit = 0x0001
168 kCursorComponentGetInfo = 0x0002
169 kCursorComponentSetOutputMode = 0x0003
170 kCursorComponentSetData = 0x0004
171 kCursorComponentReconfigure = 0x0005
172 kCursorComponentDraw = 0x0006
173 kCursorComponentErase = 0x0007
174 kCursorComponentMove = 0x0008
175 kCursorComponentAnimate = 0x0009
176 kCursorComponentLastReserved = 0x0050
177 # Generated from 'QuickDrawText.h'
180 def FOUR_CHAR_CODE(x): return x
181 normal = 0
182 bold = 1
183 italic = 2
184 underline = 4
185 outline = 8
186 shadow = 0x10
187 condense = 0x20
188 extend = 0x40
189 leftCaret = 0
190 rightCaret = -1
191 kHilite = 1
192 smLeftCaret = 0
193 smRightCaret = -1
194 smHilite = 1
195 onlyStyleRun = 0
196 leftStyleRun = 1
197 rightStyleRun = 2
198 middleStyleRun = 3
199 smOnlyStyleRun = 0
200 smLeftStyleRun = 1
201 smRightStyleRun = 2
202 smMiddleStyleRun = 3
203 truncEnd = 0
204 truncMiddle = 0x4000
205 smTruncEnd = 0
206 smTruncMiddle = 0x4000
207 notTruncated = 0
208 truncated = 1
209 truncErr = -1
210 smNotTruncated = 0
211 smTruncated = 1
212 smTruncErr = -1
213 smBreakWord = 0
214 smBreakChar = 1
215 smBreakOverflow = 2
216 tfAntiAlias = 1 << 0
217 tfUnicode = 1 << 1