1 """Suite QuickDraw Graphics Suite: A set of basic classes for graphics
4 Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
5 AETE/AEUT resource version 1/0, language 0, script 0
13 class QuickDraw_Graphics_Suite_Events
:
18 class arc(aetools
.ComponentItem
):
21 class arc_angle(aetools
.NProperty
):
22 """arc angle - the angle of the arc in degrees """
25 class bounds(aetools
.NProperty
):
26 """bounds - the smallest rectangle that contains the entire arc """
29 class definition_rect(aetools
.NProperty
):
30 """definition rect - the rectangle that contains the circle or oval used to define the arc """
33 class fill_color(aetools
.NProperty
):
34 """fill color - the fill color """
37 class fill_pattern(aetools
.NProperty
):
38 """fill pattern - the fill pattern """
41 class pen_color(aetools
.NProperty
):
42 """pen color - the pen color """
45 class pen_pattern(aetools
.NProperty
):
46 """pen pattern - the pen pattern """
49 class pen_width(aetools
.NProperty
):
50 """pen width - the pen width """
53 class start_angle(aetools
.NProperty
):
54 """start angle - the angle that defines the start of the arc, in degrees """
57 class transfer_mode(aetools
.NProperty
):
58 """transfer mode - the transfer mode """
64 class drawing_area(aetools
.ComponentItem
):
65 """drawing area - Container for graphics and supporting information """
67 class background_color(aetools
.NProperty
):
68 """background color - the color used to fill in unoccupied areas """
71 class background_pattern(aetools
.NProperty
):
72 """background pattern - the pattern used to fill in unoccupied areas """
75 class color_table(aetools
.NProperty
):
76 """color table - the color table """
79 class ordering(aetools
.NProperty
):
80 """ordering - the ordered list of graphic objects in the drawing area """
83 class name(aetools
.NProperty
):
84 """name - the name """
87 class default_location(aetools
.NProperty
):
88 """default location - the default location of each new graphic object """
91 class pixel_depth(aetools
.NProperty
):
92 """pixel depth - the number of bits per pixel """
95 class writing_code(aetools
.NProperty
):
96 """writing code - the script system and language of text objects in the drawing area """
99 class text_color(aetools
.NProperty
):
100 """text color - the default color for text objects """
103 class default_font(aetools
.NProperty
):
104 """default font - the name of the default font for text objects """
107 class default_size(aetools
.NProperty
):
108 """default size - the default size for text objects """
111 class style(aetools
.NProperty
):
112 """style - the default text style for text objects """
115 class update_on_change(aetools
.NProperty
):
116 """update on change - Redraw after each change? """
120 drawing_areas
= drawing_area
122 class graphic_line(aetools
.ComponentItem
):
123 """graphic line - A graphic line """
125 class start_point(aetools
.NProperty
):
126 """start point - the starting point of the line """
129 class end_point(aetools
.NProperty
):
130 """end point - the ending point of the line """
133 class dash_style(aetools
.NProperty
):
134 """dash style - the dash style """
137 class arrow_style(aetools
.NProperty
):
138 """arrow style - the arrow style """
142 graphic_lines
= graphic_line
144 class graphic_object(aetools
.ComponentItem
):
145 """graphic object - A graphic object """
148 graphic_objects
= graphic_object
150 class graphic_shape(aetools
.ComponentItem
):
151 """graphic shape - A graphic shape """
154 graphic_shapes
= graphic_shape
156 class graphic_text(aetools
.ComponentItem
):
157 """graphic text - A series of characters within a drawing area """
159 class color(aetools
.NProperty
):
160 """color - the color of the first character """
163 class font(aetools
.NProperty
):
164 """font - the name of the font of the first character """
167 class size(aetools
.NProperty
):
168 """size - the size in points of the first character """
171 class uniform_styles(aetools
.NProperty
):
172 """uniform styles - the text styles that are uniform throughout the text """
176 class graphic_group(aetools
.ComponentItem
):
177 """graphic group - Group of graphics """
180 graphic_groups
= graphic_group
182 class oval(aetools
.ComponentItem
):
183 """oval - An oval """
188 class pixel(aetools
.ComponentItem
):
189 """pixel - A pixel """
194 class pixel_map(aetools
.ComponentItem
):
195 """pixel map - A pixel map """
198 pixel_maps
= pixel_map
200 class polygon(aetools
.ComponentItem
):
201 """polygon - A polygon """
203 class point_list(aetools
.NProperty
):
204 """point list - the list of points that define the polygon """
210 class rectangle(aetools
.ComponentItem
):
211 """rectangle - A rectangle """
214 rectangles
= rectangle
216 class rounded_rectangle(aetools
.ComponentItem
):
217 """rounded rectangle - A rounded rectangle """
219 class corner_curve_height(aetools
.NProperty
):
220 """corner curve height - the height of the oval used to define the shape of the rounded corners """
223 class corner_curve_width(aetools
.NProperty
):
224 """corner curve width - the width of the oval used to define the shape of the rounded corners """
228 rounded_rectangles
= rounded_rectangle
229 arc
._superclassnames
= []
230 arc
._privpropdict
= {
231 'arc_angle' : arc_angle
,
233 'definition_rect' : definition_rect
,
234 'fill_color' : fill_color
,
235 'fill_pattern' : fill_pattern
,
236 'pen_color' : pen_color
,
237 'pen_pattern' : pen_pattern
,
238 'pen_width' : pen_width
,
239 'start_angle' : start_angle
,
240 'transfer_mode' : transfer_mode
,
242 arc
._privelemdict
= {
244 drawing_area
._superclassnames
= []
245 drawing_area
._privpropdict
= {
246 'background_color' : background_color
,
247 'background_pattern' : background_pattern
,
248 'color_table' : color_table
,
249 'ordering' : ordering
,
251 'default_location' : default_location
,
252 'pixel_depth' : pixel_depth
,
253 'writing_code' : writing_code
,
254 'text_color' : text_color
,
255 'default_font' : default_font
,
256 'default_size' : default_size
,
258 'update_on_change' : update_on_change
,
260 drawing_area
._privelemdict
= {
262 graphic_line
._superclassnames
= []
263 graphic_line
._privpropdict
= {
264 'start_point' : start_point
,
265 'end_point' : end_point
,
266 'dash_style' : dash_style
,
267 'arrow_style' : arrow_style
,
269 graphic_line
._privelemdict
= {
271 graphic_object
._superclassnames
= []
272 graphic_object
._privpropdict
= {
274 graphic_object
._privelemdict
= {
276 graphic_shape
._superclassnames
= []
277 graphic_shape
._privpropdict
= {
279 graphic_shape
._privelemdict
= {
281 graphic_text
._superclassnames
= []
282 graphic_text
._privpropdict
= {
286 'uniform_styles' : uniform_styles
,
288 graphic_text
._privelemdict
= {
290 graphic_group
._superclassnames
= []
291 graphic_group
._privpropdict
= {
293 graphic_group
._privelemdict
= {
295 oval
._superclassnames
= []
296 oval
._privpropdict
= {
298 oval
._privelemdict
= {
300 pixel
._superclassnames
= []
301 pixel
._privpropdict
= {
304 pixel
._privelemdict
= {
306 pixel_map
._superclassnames
= []
307 pixel_map
._privpropdict
= {
309 pixel_map
._privelemdict
= {
311 polygon
._superclassnames
= []
312 polygon
._privpropdict
= {
313 'point_list' : point_list
,
315 polygon
._privelemdict
= {
317 rectangle
._superclassnames
= []
318 rectangle
._privpropdict
= {
320 rectangle
._privelemdict
= {
322 rounded_rectangle
._superclassnames
= []
323 rounded_rectangle
._privpropdict
= {
324 'corner_curve_height' : corner_curve_height
,
325 'corner_curve_width' : corner_curve_width
,
327 rounded_rectangle
._privelemdict
= {
330 'copy_pixels' : 'cpy ', #
331 'not_copy_pixels' : 'ncpy', #
332 'or_pixels' : 'or ', #
333 'not_or_pixels' : 'ntor', #
334 'bic_pixels' : 'bic ', #
335 'not_bic_pixels' : 'nbic', #
336 'xor_pixels' : 'xor ', #
337 'not_xor_pixels' : 'nxor', #
338 'add_over_pixels' : 'addo', #
339 'add_pin_pixels' : 'addp', #
340 'sub_over_pixels' : 'subo', #
341 'sub_pin_pixels' : 'subp', #
342 'ad_max_pixels' : 'admx', #
343 'ad_min_pixels' : 'admn', #
344 'blend_pixels' : 'blnd', #
348 'no_arrow' : 'arno', # No arrow on line
349 'arrow_at_start' : 'arst', # Arrow at start of line
350 'arrow_at_end' : 'aren', # Arrow at end of line
351 'arrow_at_both_ends' : 'arbo', # Arrow at both the start and the end of the line
356 # Indices of types declared in this module
358 _classdeclarations
= {
359 'cpic' : graphic_group
,
361 'cgtx' : graphic_text
,
362 'cgsh' : graphic_shape
,
363 'glin' : graphic_line
,
364 'cgob' : graphic_object
,
365 'cdrw' : drawing_area
,
368 'crrc' : rounded_rectangle
,
374 _propdeclarations
= {
375 'pbpt' : background_pattern
,
380 'flpt' : fill_pattern
,
381 'ustl' : uniform_styles
,
384 'pstp' : start_point
,
385 'pang' : start_angle
,
386 'pptm' : transfer_mode
,
387 'cltb' : color_table
,
389 'ptxf' : default_font
,
391 'ptps' : default_size
,
393 'arro' : arrow_style
,
394 'pcwd' : corner_curve_width
,
396 'psct' : writing_code
,
400 'pdpt' : pixel_depth
,
401 'pnel' : default_location
,
402 'pchd' : corner_curve_height
,
403 'pbcl' : background_color
,
405 'pdrt' : definition_rect
,
407 'pupd' : update_on_change
,
408 'pppa' : pen_pattern
,
411 _compdeclarations
= {
414 _enumdeclarations
= {