diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1997-12-18 17:47:12 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1997-12-18 17:47:12 (GMT) |
commit | 3802039cffa557c2f127ee874f77235e3786bf31 (patch) | |
tree | 5df59f417e6f52fd5edda199c73acfb6333974fe /Mac/Lib/lib-scripting/QuickDraw_Graphics_Supplemental | |
parent | e903aab83331aa828d28620a1b78d5f3a67254a3 (diff) | |
download | cpython-3802039cffa557c2f127ee874f77235e3786bf31.zip cpython-3802039cffa557c2f127ee874f77235e3786bf31.tar.gz cpython-3802039cffa557c2f127ee874f77235e3786bf31.tar.bz2 |
Moved scripting to lib-scripting (did it the Sjoerd-way this time)
Diffstat (limited to 'Mac/Lib/lib-scripting/QuickDraw_Graphics_Supplemental')
-rw-r--r-- | Mac/Lib/lib-scripting/QuickDraw_Graphics_Supplemental | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/Mac/Lib/lib-scripting/QuickDraw_Graphics_Supplemental b/Mac/Lib/lib-scripting/QuickDraw_Graphics_Supplemental new file mode 100644 index 0000000..9666842 --- /dev/null +++ b/Mac/Lib/lib-scripting/QuickDraw_Graphics_Supplemental @@ -0,0 +1,71 @@ +"""Suite QuickDraw Graphics Supplemental Suite: Defines transformations of graphic objects +Level 1, version 1 + +Generated from flap:System Folder:Extensions:Scripting Additions:Dialects:English Dialect +AETE/AEUT resource version 1/0, language 0, script 0 +""" + +import aetools +import MacOS + +_code = 'qdsp' + +class QuickDraw_Graphics_Supplemental_Suite: + + 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._propdict = { + 'rotation' : rotation, + 'scale' : scale, + 'translation' : translation, +} +drawing_area._elemdict = { +} +graphic_group._propdict = { +} +graphic_group._elemdict = { +} + +# +# Indices of types declared in this module +# +_classdeclarations = { + 'cpic' : graphic_group, + 'cdrw' : drawing_area, +} + +_propdeclarations = { + 'prot' : rotation, + 'pscl' : scale, + 'ptrs' : translation, +} + +_compdeclarations = { +} + +_enumdeclarations = { +} |