summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/lib-scripting/QuickDraw_Graphics_Supplemental
blob: 966684202e86c3b475c906f0fddf1d6b83f56241 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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 = {
}