/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
  2. Level 1, version 1
  3. Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
  4. AETE/AEUT resource version 1/0, language 0, script 0
  5. """
  6. import aetools
  7. import MacOS
  8. _code = 'qdsp'
  9. class QuickDraw_Graphics_Suppleme_Events:
  10. pass
  11. class drawing_area(aetools.ComponentItem):
  12. """drawing area - Container for graphics and supporting information """
  13. want = 'cdrw'
  14. class _Prop_rotation(aetools.NProperty):
  15. """rotation - the default rotation for objects in the drawing area """
  16. which = 'prot'
  17. want = 'trot'
  18. class _Prop_scale(aetools.NProperty):
  19. """scale - the default scaling for objects in the drawing area """
  20. which = 'pscl'
  21. want = 'fixd'
  22. class _Prop_translation(aetools.NProperty):
  23. """translation - the default repositioning for objects in the drawing area """
  24. which = 'ptrs'
  25. want = 'QDpt'
  26. drawing_areas = drawing_area
  27. class graphic_groups(aetools.ComponentItem):
  28. """graphic groups - """
  29. want = 'cpic'
  30. graphic_group = graphic_groups
  31. drawing_area._superclassnames = []
  32. drawing_area._privpropdict = {
  33. 'rotation' : _Prop_rotation,
  34. 'scale' : _Prop_scale,
  35. 'translation' : _Prop_translation,
  36. }
  37. drawing_area._privelemdict = {
  38. }
  39. graphic_groups._superclassnames = []
  40. graphic_groups._privpropdict = {
  41. }
  42. graphic_groups._privelemdict = {
  43. }
  44. #
  45. # Indices of types declared in this module
  46. #
  47. _classdeclarations = {
  48. 'cdrw' : drawing_area,
  49. 'cpic' : graphic_groups,
  50. }
  51. _propdeclarations = {
  52. 'prot' : _Prop_rotation,
  53. 'pscl' : _Prop_scale,
  54. 'ptrs' : _Prop_translation,
  55. }
  56. _compdeclarations = {
  57. }
  58. _enumdeclarations = {
  59. }