File: devguide-9.html

package info (click to toggle)
sketch 0.6.13-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 5,284 kB
  • ctags: 8,453
  • sloc: python: 34,711; ansic: 16,543; makefile: 83; sh: 26
file content (63 lines) | stat: -rw-r--r-- 3,462 bytes parent folder | download | duplicates (3)
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
<html>
<head>
<title>Developer's Guide: The Document and Graphics Classes</title>
</head>
<body bgcolor=white text=black link=blue vlink=navy alink=red>
<TABLE WIDTH="100%">
<TR>
<TH ALIGN="left" WIDTH="33%"><img SRC="Images/arrow-left.png" WIDTH="16" HEIGHT="16" ALIGN="top" ALT="Prev"></TH>
<TH ALIGN="center" WIDTH="33%"><img SRC="Images/arrow-up.png" WIDTH="16" HEIGHT="16" ALIGN="top" ALT="Up"></TH>
<TH ALIGN="right" WIDTH="33%"><img SRC="Images/arrow-right.png" WIDTH="16" HEIGHT="16" ALIGN="top" ALT="Next"></TH>
</TR>
<TR>
<TD ALIGN="left"><A HREF="devguide-8.html">Curve Objects
</A></TD>
<TD ALIGN="center"><A HREF="devguide.html">Developer's Guide</A></TD>
<TD ALIGN="right"><A HREF="devguide-19.html">The Undo Mechanism
</A></TD>
</TR>
</TABLE>
<HR NOSHADE>
<H1><FONT face="Helvetica,Arial"><A NAME="N1"></A>The Document and Graphics Classes</font></H1>

<P>The document is represented by a tree of graphics objects. The document
consists of one or more layers. Each layer consists of zero or more
primitives or compound objects.</P>
<P>Primitives are the leaves of the tree and contain no other graphics
objects, examples are Rectangles or PolyBezier objects. Most primitives
can have <A HREF="devguide-19.html">line and fill properties</A> (Text objects
currently can only have fill properties and image objects have neither
fill nor line properties).</P>
<P>Compound objects are graphics objects that contain other graphics
objects, examples are the ordinary Group or the BlendGroup.</P>


<H4><FONT face="Helvetica,Arial"><img SRC="Images/bullet.png" WIDTH="9" HEIGHT="9"><A HREF="devguide-10.html">Class Hierarchy
</A></font></H4>
<H4><FONT face="Helvetica,Arial"><img SRC="Images/bullet.png" WIDTH="9" HEIGHT="9"><A HREF="devguide-11.html">The class GraphicsObject</A></font></H4>
<H4><FONT face="Helvetica,Arial"><img SRC="Images/bullet.png" WIDTH="9" HEIGHT="9"><A HREF="devguide-12.html">The class Bounded 
</A></font></H4>
<H4><FONT face="Helvetica,Arial"><img SRC="Images/bullet.png" WIDTH="9" HEIGHT="9"><A HREF="devguide-13.html">The class HierarchyNode 
</A></font></H4>
<H4><FONT face="Helvetica,Arial"><img SRC="Images/bullet.png" WIDTH="9" HEIGHT="9"><A HREF="devguide-14.html">The class Protocols</A></font></H4>
<H4><FONT face="Helvetica,Arial"><img SRC="Images/bullet.png" WIDTH="9" HEIGHT="9"><A HREF="devguide-15.html">The class Selectable</A></font></H4>
<H4><FONT face="Helvetica,Arial"><img SRC="Images/bullet.png" WIDTH="9" HEIGHT="9"><A HREF="devguide-16.html">The class Primitive</A></font></H4>
<H4><FONT face="Helvetica,Arial"><img SRC="Images/bullet.png" WIDTH="9" HEIGHT="9"><A HREF="devguide-17.html">The class Compound</A></font></H4>
<H4><FONT face="Helvetica,Arial"><img SRC="Images/bullet.png" WIDTH="9" HEIGHT="9"><A HREF="devguide-18.html">The class Rectangle</A></font></H4>
<HR NOSHADE>
<TABLE WIDTH="100%">
<TR>
<TD ALIGN="left"><A HREF="devguide-8.html">Curve Objects
</A></TD>
<TD ALIGN="center"><A HREF="devguide.html">Developer's Guide</A></TD>
<TD ALIGN="right"><A HREF="devguide-19.html">The Undo Mechanism
</A></TD>
</TR>
<TR>
<TH ALIGN="left" WIDTH="33%"><img SRC="Images/arrow-left.png" WIDTH="16" HEIGHT="16" ALIGN="top" ALT="Prev"></TH>
<TH ALIGN="center" WIDTH="33%"><img SRC="Images/arrow-up.png" WIDTH="16" HEIGHT="16" ALIGN="top" ALT="Up"></TH>
<TH ALIGN="right" WIDTH="33%"><img SRC="Images/arrow-right.png" WIDTH="16" HEIGHT="16" ALIGN="top" ALT="Next"></TH>
</TR>
</TABLE>
</body>
</html>