conflict resolution
[org.ibex.core.git] / doc / reference / reference.xml
index 844bad6..28f8a34 100644 (file)
       and written) from both static scripts as well as instance
       scripts in a particular template. FIXME
       </definition>
-
-    </section>
+  </section>
   
   <section title="Metadata">
 
 <!-- ----------------------------------------------------------------------- -->
 <section title="Layout and Rendering">
 
-    <section title="Visual Components">
-  
       Each box occupies a rectangular region on the surface.  The visual
       appearance of a surface is created by rendering each box in its tree.
       Unless the [[clip]] attribute is [[false]], each box will
       These eight components plus the size of a box fully specify its
       appearance.  Every single box you see in Ibex is drawn only on the
       basis of these components and its size.
-    </section>  
-
-    <section title="Size and Position">
 
       The size and position of every box is determined by its
       properties, its childrens' sizes, and its parent's size and
       resizing the surface at all.  However, not all platforms give Ibex
       enough control to do this.
       
-      <image url="alignmentpoint.pdf" caption="The effect of alignment points on layout" width="3in"/>
-
     <heading title="The alignment point"/>
   
       When talking about positioning, we will often refer to the
           <ui:box id="4" />
           <ui:box id="5" colspan="2" />
       </ui:box>
-
-
-
       </pre>
       
       </section>
 
     <section title="Placing">
   
-      <section title="Packed Boxes">
+      <heading title="Non-Packed Boxes"/>
+
+      Each non-packed box is transformed according to the parent's
+      [[transform]] property and then positioned so that its alignment
+      point is [[(child.x, child.y)]] pixels from the corresponding
+      edge/corner/center of its parent.
+
+      <heading title="Packed Boxes"/>
 
       Ibex formulates a set of constraints for placing a box's
       **packed** children as follows:
       does not (due to [[maxwidth]] or minimum width constraints), the
       box's will be placed so that its alignment point coincides with
       the alignment point of that rectangle of cells.
-      </section>
-
-      <section title="Non-Packed Boxes">
-      Each non-packed box is transformed according to the parent's
-      [[transform]] property and then positioned so that its alignment
-      point is [[(child.x, child.y)]] pixels from the corresponding
-      edge/corner/center of its parent.
-      </section>
 
   </section>
-  
+
   <section title="Rendering">
 
     Boxes are rendered in a depth-first, pre-order traversal.  Note that
     </list>
     
     </section>
-
-  </section>
+</section>
 
 <!-- ----------------------------------------------------------------------- -->
 <section title="Box Properties">
 Copyright (C) 2004 Adam Megacz, verbatim redistribution permitted.
 Ibex is a trademark of Adam Megacz
 **
-    
+
 </ibex-doc>
\ No newline at end of file