PageRenderTime 371ms CodeModel.GetById 181ms app.highlight 4ms RepoModel.GetById 97ms app.codeStats 0ms

/Lib/plat-mac/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suppleme.py

http://unladen-swallow.googlecode.com/
Python | 73 lines | 46 code | 13 blank | 14 comment | 0 complexity | 37d774c44cf4e2fdf4b1b85c7966d115 MD5 | raw file
 1"""Suite QuickDraw Graphics Supplemental Suite: Defines transformations of graphic objects
 2Level 1, version 1
 3
 4Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
 5AETE/AEUT resource version 1/0, language 0, script 0
 6"""
 7
 8import aetools
 9import MacOS
10
11_code = 'qdsp'
12
13class QuickDraw_Graphics_Suppleme_Events:
14
15    pass
16
17
18class drawing_area(aetools.ComponentItem):
19    """drawing area - Container for graphics and supporting information """
20    want = 'cdrw'
21class _Prop_rotation(aetools.NProperty):
22    """rotation - the default rotation for objects in the drawing area """
23    which = 'prot'
24    want = 'trot'
25class _Prop_scale(aetools.NProperty):
26    """scale - the default scaling for objects in the drawing area """
27    which = 'pscl'
28    want = 'fixd'
29class _Prop_translation(aetools.NProperty):
30    """translation - the default repositioning for objects in the drawing area """
31    which = 'ptrs'
32    want = 'QDpt'
33
34drawing_areas = drawing_area
35
36class graphic_groups(aetools.ComponentItem):
37    """graphic groups -  """
38    want = 'cpic'
39
40graphic_group = graphic_groups
41drawing_area._superclassnames = []
42drawing_area._privpropdict = {
43    'rotation' : _Prop_rotation,
44    'scale' : _Prop_scale,
45    'translation' : _Prop_translation,
46}
47drawing_area._privelemdict = {
48}
49graphic_groups._superclassnames = []
50graphic_groups._privpropdict = {
51}
52graphic_groups._privelemdict = {
53}
54
55#
56# Indices of types declared in this module
57#
58_classdeclarations = {
59    'cdrw' : drawing_area,
60    'cpic' : graphic_groups,
61}
62
63_propdeclarations = {
64    'prot' : _Prop_rotation,
65    'pscl' : _Prop_scale,
66    'ptrs' : _Prop_translation,
67}
68
69_compdeclarations = {
70}
71
72_enumdeclarations = {
73}