summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJust van Rossum <just@letterror.com>2001-12-13 13:15:28 (GMT)
committerJust van Rossum <just@letterror.com>2001-12-13 13:15:28 (GMT)
commitc97eefc3c9a4ccd0659e08588f537ff7c7ebac6b (patch)
tree3f65c0aa5aae38375ade139bddc367f047c32adc
parentd16199aadeea83719e942cc01c7cb743291f3502 (diff)
downloadcpython-c97eefc3c9a4ccd0659e08588f537ff7c7ebac6b.zip
cpython-c97eefc3c9a4ccd0659e08588f537ff7c7ebac6b.tar.gz
cpython-c97eefc3c9a4ccd0659e08588f537ff7c7ebac6b.tar.bz2
first checkin for CoreGraphics
-rwxr-xr-xMac/Lib/Carbon/CG.py1
-rwxr-xr-xMac/Lib/Carbon/CoreGraphics.py24
2 files changed, 25 insertions, 0 deletions
diff --git a/Mac/Lib/Carbon/CG.py b/Mac/Lib/Carbon/CG.py
new file mode 100755
index 0000000..96f5772
--- /dev/null
+++ b/Mac/Lib/Carbon/CG.py
@@ -0,0 +1 @@
+from _CG import *
diff --git a/Mac/Lib/Carbon/CoreGraphics.py b/Mac/Lib/Carbon/CoreGraphics.py
new file mode 100755
index 0000000..bd90980
--- /dev/null
+++ b/Mac/Lib/Carbon/CoreGraphics.py
@@ -0,0 +1,24 @@
+# Generated from 'CGContext.h'
+
+def FOUR_CHAR_CODE(x): return x
+kCGLineJoinMiter = 0
+kCGLineJoinRound = 1
+kCGLineJoinBevel = 2
+kCGLineCapButt = 0
+kCGLineCapRound = 1
+kCGLineCapSquare = 2
+kCGPathFill = 0
+kCGPathEOFill = 1
+kCGPathStroke = 2
+kCGPathFillStroke = 3
+kCGPathEOFillStroke = 4
+kCGTextFill = 0
+kCGTextStroke = 1
+kCGTextFillStroke = 2
+kCGTextInvisible = 3
+kCGTextFillClip = 4
+kCGTextStrokeClip = 5
+kCGTextFillStrokeClip = 6
+kCGTextClip = 7
+kCGEncodingFontSpecific = 0
+kCGEncodingMacRoman = 1