mirror of
https://github.com/python/cpython.git
synced 2025-07-31 23:23:11 +00:00
Moved most of Mac/Lib hierarchy to Lib/plat-mac: it can be used both
in MacPython-OS9 and MacPython-OSX (or the equivalent unix Python on Mac OS X). The only items remaining in Mac/Lib are modules that are meaningful only for MacPython-OS9 (CFM stuff, MacPython preferences in resources, etc).
This commit is contained in:
parent
c262a1f51c
commit
60087fb450
136 changed files with 207 additions and 0 deletions
24
Lib/plat-mac/Carbon/CoreGraphics.py
Executable file
24
Lib/plat-mac/Carbon/CoreGraphics.py
Executable file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue