summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/Carbon/QuickDraw.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/plat-mac/Carbon/QuickDraw.py')
-rw-r--r--Lib/plat-mac/Carbon/QuickDraw.py54
1 files changed, 27 insertions, 27 deletions
diff --git a/Lib/plat-mac/Carbon/QuickDraw.py b/Lib/plat-mac/Carbon/QuickDraw.py
index 9209a35..65c2f9a 100644
--- a/Lib/plat-mac/Carbon/QuickDraw.py
+++ b/Lib/plat-mac/Carbon/QuickDraw.py
@@ -2,15 +2,15 @@
def FOUR_CHAR_CODE(x): return x
-normal = 0
-bold = 1
-italic = 2
-underline = 4
-outline = 8
-shadow = 0x10
-condense = 0x20
-extend = 0x40
-invalColReq = -1
+normal = 0
+bold = 1
+italic = 2
+underline = 4
+outline = 8
+shadow = 0x10
+condense = 0x20
+extend = 0x40
+invalColReq = -1
srcCopy = 0
srcOr = 1
srcXor = 2
@@ -68,7 +68,7 @@ picRParen = 1
clutType = 0
fixedType = 1
directType = 2
-gdDevType = 0
+gdDevType = 0
interlacedDevice = 2
hwMirroredDevice = 4
roundedDevice = 5
@@ -85,7 +85,7 @@ hiliteBit = 7
pHiliteBit = 0
defQDColors = 127
RGBDirect = 16
-baseAddr32 = 4
+baseAddr32 = 4
sysPatListID = 0
iBeamCursor = 1
crossCursor = 2
@@ -125,7 +125,7 @@ k32ARGBPixelFormat = 0x00000020
k1IndexedGrayPixelFormat = 0x00000021
k2IndexedGrayPixelFormat = 0x00000022
k4IndexedGrayPixelFormat = 0x00000024
-k8IndexedGrayPixelFormat = 0x00000028
+k8IndexedGrayPixelFormat = 0x00000028
k16LE555PixelFormat = FOUR_CHAR_CODE('L555')
k16LE5551PixelFormat = FOUR_CHAR_CODE('5551')
k16BE565PixelFormat = FOUR_CHAR_CODE('B565')
@@ -141,7 +141,7 @@ kYUV411PixelFormat = FOUR_CHAR_CODE('Y411')
kYVYU422PixelFormat = FOUR_CHAR_CODE('YVYU')
kUYVY422PixelFormat = FOUR_CHAR_CODE('UYVY')
kYUV211PixelFormat = FOUR_CHAR_CODE('Y211')
-k2vuyPixelFormat = FOUR_CHAR_CODE('2vuy')
+k2vuyPixelFormat = FOUR_CHAR_CODE('2vuy')
kCursorImageMajorVersion = 0x0001
kCursorImageMinorVersion = 0x0000
kQDParseRegionFromTop = (1 << 0)
@@ -157,7 +157,7 @@ colorXorXFer = 52
noiseXFer = 53
customXFer = 54
kXFer1PixelAtATime = 0x00000001
-kXFerConvertPixelToRGB32 = 0x00000002
+kXFerConvertPixelToRGB32 = 0x00000002
kCursorComponentsVersion = 0x00010001
kCursorComponentType = FOUR_CHAR_CODE('curs')
cursorDoesAnimate = 1L << 0
@@ -179,20 +179,20 @@ kCursorComponentLastReserved = 0x0050
def FOUR_CHAR_CODE(x): return x
-normal = 0
-bold = 1
-italic = 2
-underline = 4
-outline = 8
-shadow = 0x10
-condense = 0x20
-extend = 0x40
+normal = 0
+bold = 1
+italic = 2
+underline = 4
+outline = 8
+shadow = 0x10
+condense = 0x20
+extend = 0x40
leftCaret = 0
rightCaret = -1
-kHilite = 1
+kHilite = 1
smLeftCaret = 0
smRightCaret = -1
-smHilite = 1
+smHilite = 1
onlyStyleRun = 0
leftStyleRun = 1
rightStyleRun = 2
@@ -200,17 +200,17 @@ middleStyleRun = 3
smOnlyStyleRun = 0
smLeftStyleRun = 1
smRightStyleRun = 2
-smMiddleStyleRun = 3
+smMiddleStyleRun = 3
truncEnd = 0
truncMiddle = 0x4000
smTruncEnd = 0
-smTruncMiddle = 0x4000
+smTruncMiddle = 0x4000
notTruncated = 0
truncated = 1
truncErr = -1
smNotTruncated = 0
smTruncated = 1
-smTruncErr = -1
+smTruncErr = -1
smBreakWord = 0
smBreakChar = 1
smBreakOverflow = 2