/[gzz]/gzz/gzz/vob/HChain.java
ViewVC logotype

Diff of /gzz/gzz/vob/HChain.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by benja, Sat Sep 21 16:47:15 2002 UTC revision 1.3 by benja, Sat Sep 21 21:49:04 2002 UTC
# Line 45  public interface HChain { Line 45  public interface HChain {
45       *                  or <code>GLUE_SHRINK</code>.       *                  or <code>GLUE_SHRINK</code>.
46       */       */
47      float getGlue(int n, int property);      float getGlue(int n, int property);
48        
49        /** Get the number of forced line breaks before the
50         *  <code>n</code>th box.
51         */
52        int getBreaks(int n);
53    
54      void addBox(HBox box);      void addBox(HBox box);
55      void addGlue(float length, float stretch, float shrink);      void addGlue(float length, float stretch, float shrink);
56    
57        /** Add a forced line break at the current position.
58         *  This is a "logical" line break, i.e. one in the text content,
59         *  not one created by the line breaker. Line breakers should use
60         *  <code>HBroken</code> to represent linebroken versions of an
61         *  <code>HChain</code>.
62         */
63        void addBreak();
64    
65      /** Get the height of a line given the index of the first and the      /** Get the height of a line given the index of the first and the
66       *  index after the last box in that line. The height of the line is       *  index after the last box in that line. The height of the line is
67       *  simply the maximum of the heights of the individual boxes at       *  simply the maximum of the heights of the individual boxes at

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26