mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +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
|
@ -0,0 +1,73 @@
|
|||
"""Suite QuickDraw Graphics Supplemental Suite: Defines transformations of graphic objects
|
||||
Level 1, version 1
|
||||
|
||||
Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
|
||||
AETE/AEUT resource version 1/0, language 0, script 0
|
||||
"""
|
||||
|
||||
import aetools
|
||||
import MacOS
|
||||
|
||||
_code = 'qdsp'
|
||||
|
||||
class QuickDraw_Graphics_Suppleme_Events:
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class drawing_area(aetools.ComponentItem):
|
||||
"""drawing area - Container for graphics and supporting information """
|
||||
want = 'cdrw'
|
||||
class rotation(aetools.NProperty):
|
||||
"""rotation - the default rotation for objects in the drawing area """
|
||||
which = 'prot'
|
||||
want = 'trot'
|
||||
class scale(aetools.NProperty):
|
||||
"""scale - the default scaling for objects in the drawing area """
|
||||
which = 'pscl'
|
||||
want = 'fixd'
|
||||
class translation(aetools.NProperty):
|
||||
"""translation - the default repositioning for objects in the drawing area """
|
||||
which = 'ptrs'
|
||||
want = 'QDpt'
|
||||
|
||||
drawing_areas = drawing_area
|
||||
|
||||
class graphic_group(aetools.ComponentItem):
|
||||
"""graphic group - Group of graphics """
|
||||
want = 'cpic'
|
||||
|
||||
graphic_groups = graphic_group
|
||||
drawing_area._superclassnames = []
|
||||
drawing_area._privpropdict = {
|
||||
'rotation' : rotation,
|
||||
'scale' : scale,
|
||||
'translation' : translation,
|
||||
}
|
||||
drawing_area._privelemdict = {
|
||||
}
|
||||
graphic_group._superclassnames = []
|
||||
graphic_group._privpropdict = {
|
||||
}
|
||||
graphic_group._privelemdict = {
|
||||
}
|
||||
|
||||
#
|
||||
# Indices of types declared in this module
|
||||
#
|
||||
_classdeclarations = {
|
||||
'cpic' : graphic_group,
|
||||
'cdrw' : drawing_area,
|
||||
}
|
||||
|
||||
_propdeclarations = {
|
||||
'prot' : rotation,
|
||||
'ptrs' : translation,
|
||||
'pscl' : scale,
|
||||
}
|
||||
|
||||
_compdeclarations = {
|
||||
}
|
||||
|
||||
_enumdeclarations = {
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue