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 _Prop_arc_angle(aetools
.NProperty
):
22 """arc angle - the angle of the arc in degrees """
25 class _Prop_bounds(aetools
.NProperty
):
26 """bounds - the smallest rectangle that contains the entire arc """
29 class _Prop_definition_rect(aetools
.NProperty
):
30 """definition rect - the rectangle that contains the circle or oval used to define the arc """
33 class _Prop_fill_color(aetools
.NProperty
):
34 """fill color - the fill color """
37 class _Prop_fill_pattern(aetools
.NProperty
):
38 """fill pattern - the fill pattern """
41 class _Prop_pen_color(aetools
.NProperty
):
42 """pen color - the pen color """
45 class _Prop_pen_pattern(aetools
.NProperty
):
46 """pen pattern - the pen pattern """
49 class _Prop_pen_width(aetools
.NProperty
):
50 """pen width - the pen width """
53 class _Prop_start_angle(aetools
.NProperty
):
54 """start angle - the angle that defines the start of the arc, in degrees """
57 class _Prop_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 _Prop_background_color(aetools
.NProperty
):
68 """background color - the color used to fill in unoccupied areas """
71 class _Prop_background_pattern(aetools
.NProperty
):
72 """background pattern - the pattern used to fill in unoccupied areas """
75 class _Prop_color_table(aetools
.NProperty
):
76 """color table - the color table """
79 class _Prop_default_font(aetools
.NProperty
):
80 """default font - the name of the default font for text objects """
83 class _Prop_default_location(aetools
.NProperty
):
84 """default location - the default location of each new graphic object """
87 class _Prop_default_size(aetools
.NProperty
):
88 """default size - the default size for text objects """
91 class _Prop_name(aetools
.NProperty
):
92 """name - the name """
95 class _Prop_ordering(aetools
.NProperty
):
96 """ordering - the ordered list of graphic objects in the drawing area """
99 class _Prop_pixel_depth(aetools
.NProperty
):
100 """pixel depth - the number of bits per pixel """
103 class _Prop_style(aetools
.NProperty
):
104 """style - the default text style for text objects """
107 class _Prop_text_color(aetools
.NProperty
):
108 """text color - the default color for text objects """
111 class _Prop_update_on_change(aetools
.NProperty
):
112 """update on change - Redraw after each change? """
115 class _Prop_writing_code(aetools
.NProperty
):
116 """writing code - the script system and language of text objects in the drawing area """
120 drawing_areas
= drawing_area
122 class graphic_objects(aetools
.ComponentItem
):
123 """graphic objects - """
126 graphic_object
= graphic_objects
128 class graphic_shapes(aetools
.ComponentItem
):
129 """graphic shapes - """
132 graphic_shape
= graphic_shapes
134 class graphic_text(aetools
.ComponentItem
):
135 """graphic text - A series of characters within a drawing area """
137 class _Prop_color(aetools
.NProperty
):
138 """color - the color of the first character """
141 class _Prop_font(aetools
.NProperty
):
142 """font - the name of the font of the first character """
145 class _Prop_size(aetools
.NProperty
):
146 """size - the size in points of the first character """
149 class _Prop_uniform_styles(aetools
.NProperty
):
150 """uniform styles - the text styles that are uniform throughout the text """
154 class ovals(aetools
.ComponentItem
):
160 class polygon(aetools
.ComponentItem
):
161 """polygon - A polygon """
163 class _Prop_point_list(aetools
.NProperty
):
164 """point list - the list of points that define the polygon """
170 class graphic_groups(aetools
.ComponentItem
):
171 """graphic groups - """
174 graphic_group
= graphic_groups
176 class pixel_maps(aetools
.ComponentItem
):
180 pixel_map
= pixel_maps
182 class pixel(aetools
.ComponentItem
):
183 """pixel - A pixel """
188 class rectangles(aetools
.ComponentItem
):
192 rectangle
= rectangles
194 class rounded_rectangle(aetools
.ComponentItem
):
195 """rounded rectangle - A rounded rectangle """
197 class _Prop_corner_curve_height(aetools
.NProperty
):
198 """corner curve height - the height of the oval used to define the shape of the rounded corners """
201 class _Prop_corner_curve_width(aetools
.NProperty
):
202 """corner curve width - the width of the oval used to define the shape of the rounded corners """
206 rounded_rectangles
= rounded_rectangle
208 class graphic_line(aetools
.ComponentItem
):
209 """graphic line - A graphic line """
211 class _Prop_arrow_style(aetools
.NProperty
):
212 """arrow style - the arrow style """
215 class _Prop_dash_style(aetools
.NProperty
):
216 """dash style - the dash style """
219 class _Prop_end_point(aetools
.NProperty
):
220 """end point - the ending point of the line """
223 class _Prop_start_point(aetools
.NProperty
):
224 """start point - the starting point of the line """
228 graphic_lines
= graphic_line
229 arc
._superclassnames
= []
230 arc
._privpropdict
= {
231 'arc_angle' : _Prop_arc_angle
,
232 'bounds' : _Prop_bounds
,
233 'definition_rect' : _Prop_definition_rect
,
234 'fill_color' : _Prop_fill_color
,
235 'fill_pattern' : _Prop_fill_pattern
,
236 'pen_color' : _Prop_pen_color
,
237 'pen_pattern' : _Prop_pen_pattern
,
238 'pen_width' : _Prop_pen_width
,
239 'start_angle' : _Prop_start_angle
,
240 'transfer_mode' : _Prop_transfer_mode
,
242 arc
._privelemdict
= {
244 drawing_area
._superclassnames
= []
245 drawing_area
._privpropdict
= {
246 'background_color' : _Prop_background_color
,
247 'background_pattern' : _Prop_background_pattern
,
248 'color_table' : _Prop_color_table
,
249 'default_font' : _Prop_default_font
,
250 'default_location' : _Prop_default_location
,
251 'default_size' : _Prop_default_size
,
253 'ordering' : _Prop_ordering
,
254 'pixel_depth' : _Prop_pixel_depth
,
255 'style' : _Prop_style
,
256 'text_color' : _Prop_text_color
,
257 'update_on_change' : _Prop_update_on_change
,
258 'writing_code' : _Prop_writing_code
,
260 drawing_area
._privelemdict
= {
262 graphic_objects
._superclassnames
= []
263 graphic_objects
._privpropdict
= {
265 graphic_objects
._privelemdict
= {
267 graphic_shapes
._superclassnames
= []
268 graphic_shapes
._privpropdict
= {
270 graphic_shapes
._privelemdict
= {
272 graphic_text
._superclassnames
= []
273 graphic_text
._privpropdict
= {
274 'color' : _Prop_color
,
277 'uniform_styles' : _Prop_uniform_styles
,
279 graphic_text
._privelemdict
= {
281 ovals
._superclassnames
= []
282 ovals
._privpropdict
= {
284 ovals
._privelemdict
= {
286 polygon
._superclassnames
= []
287 polygon
._privpropdict
= {
288 'point_list' : _Prop_point_list
,
290 polygon
._privelemdict
= {
292 graphic_groups
._superclassnames
= []
293 graphic_groups
._privpropdict
= {
295 graphic_groups
._privelemdict
= {
297 pixel_maps
._superclassnames
= []
298 pixel_maps
._privpropdict
= {
300 pixel_maps
._privelemdict
= {
302 pixel
._superclassnames
= []
303 pixel
._privpropdict
= {
304 'color' : _Prop_color
,
306 pixel
._privelemdict
= {
308 rectangles
._superclassnames
= []
309 rectangles
._privpropdict
= {
311 rectangles
._privelemdict
= {
313 rounded_rectangle
._superclassnames
= []
314 rounded_rectangle
._privpropdict
= {
315 'corner_curve_height' : _Prop_corner_curve_height
,
316 'corner_curve_width' : _Prop_corner_curve_width
,
318 rounded_rectangle
._privelemdict
= {
320 graphic_line
._superclassnames
= []
321 graphic_line
._privpropdict
= {
322 'arrow_style' : _Prop_arrow_style
,
323 'dash_style' : _Prop_dash_style
,
324 'end_point' : _Prop_end_point
,
325 'start_point' : _Prop_start_point
,
327 graphic_line
._privelemdict
= {
330 'no_arrow' : 'arno', # No arrow on line
331 'arrow_at_start' : 'arst', # Arrow at start of line
332 'arrow_at_end' : 'aren', # Arrow at end of line
333 'arrow_at_both_ends' : 'arbo', # Arrow at both the start and the end of the line
337 'copy_pixels' : 'cpy ', #
338 'not_copy_pixels' : 'ncpy', #
339 'or_pixels' : 'or ', #
340 'not_or_pixels' : 'ntor', #
341 'bic_pixels' : 'bic ', #
342 'not_bic_pixels' : 'nbic', #
343 'xor_pixels' : 'xor ', #
344 'not_xor_pixels' : 'nxor', #
345 'add_over_pixels' : 'addo', #
346 'add_pin_pixels' : 'addp', #
347 'sub_over_pixels' : 'subo', #
348 'sub_pin_pixels' : 'subp', #
349 'ad_max_pixels' : 'admx', #
350 'ad_min_pixels' : 'admn', #
351 'blend_pixels' : 'blnd', #
356 # Indices of types declared in this module
358 _classdeclarations
= {
360 'cdrw' : drawing_area
,
361 'cgob' : graphic_objects
,
362 'cgsh' : graphic_shapes
,
363 'cgtx' : graphic_text
,
366 'cpic' : graphic_groups
,
370 'crrc' : rounded_rectangle
,
371 'glin' : graphic_line
,
374 _propdeclarations
= {
375 'arro' : _Prop_arrow_style
,
376 'cltb' : _Prop_color_table
,
377 'colr' : _Prop_color
,
378 'flcl' : _Prop_fill_color
,
379 'flpt' : _Prop_fill_pattern
,
381 'gobs' : _Prop_ordering
,
382 'pang' : _Prop_start_angle
,
383 'parc' : _Prop_arc_angle
,
384 'pbcl' : _Prop_background_color
,
385 'pbnd' : _Prop_bounds
,
386 'pbpt' : _Prop_background_pattern
,
387 'pchd' : _Prop_corner_curve_height
,
388 'pcwd' : _Prop_corner_curve_width
,
389 'pdpt' : _Prop_pixel_depth
,
390 'pdrt' : _Prop_definition_rect
,
391 'pdst' : _Prop_dash_style
,
392 'pend' : _Prop_end_point
,
394 'pnel' : _Prop_default_location
,
395 'ppcl' : _Prop_pen_color
,
396 'pppa' : _Prop_pen_pattern
,
397 'pptm' : _Prop_transfer_mode
,
398 'ppwd' : _Prop_pen_width
,
399 'psct' : _Prop_writing_code
,
400 'pstp' : _Prop_start_point
,
401 'ptlt' : _Prop_point_list
,
402 'ptps' : _Prop_default_size
,
404 'ptxc' : _Prop_text_color
,
405 'ptxf' : _Prop_default_font
,
406 'pupd' : _Prop_update_on_change
,
407 'txst' : _Prop_style
,
408 'ustl' : _Prop_uniform_styles
,
411 _compdeclarations
= {
414 _enumdeclarations
= {