diff options
author | Just van Rossum <just@letterror.com> | 2001-12-13 13:15:28 (GMT) |
---|---|---|
committer | Just van Rossum <just@letterror.com> | 2001-12-13 13:15:28 (GMT) |
commit | c97eefc3c9a4ccd0659e08588f537ff7c7ebac6b (patch) | |
tree | 3f65c0aa5aae38375ade139bddc367f047c32adc /Mac/Lib | |
parent | d16199aadeea83719e942cc01c7cb743291f3502 (diff) | |
download | cpython-c97eefc3c9a4ccd0659e08588f537ff7c7ebac6b.zip cpython-c97eefc3c9a4ccd0659e08588f537ff7c7ebac6b.tar.gz cpython-c97eefc3c9a4ccd0659e08588f537ff7c7ebac6b.tar.bz2 |
first checkin for CoreGraphics
Diffstat (limited to 'Mac/Lib')
-rwxr-xr-x | Mac/Lib/Carbon/CG.py | 1 | ||||
-rwxr-xr-x | Mac/Lib/Carbon/CoreGraphics.py | 24 |
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 |