~malept/ubuntu/lucid/python2.6/dev-dependency-fix

« back to all changes in this revision

Viewing changes to Lib/plat-mac/Carbon/QuickDraw.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-02-13 12:51:00 UTC
  • Revision ID: james.westby@ubuntu.com-20090213125100-uufgcb9yeqzujpqw
Tags: upstream-2.6.1
ImportĀ upstreamĀ versionĀ 2.6.1

Show diffs side-by-side

added added

removed removed

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