<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>