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

Diff of /gzz/gzz/vob/HBroken.java

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

revision 1.6 by benja, Sat Sep 28 22:55:13 2002 UTC revision 1.7 by benja, Sun Sep 29 14:53:45 2002 UTC
# Line 53  public class HBroken { Line 53  public class HBroken {
53          length++;          length++;
54      }      }
55    
56      public void put(VobScene vs, int coordsys_outside, int coordsys) {      public void put(VobScene vs, int coordsys) {
57          int x = 0, y = 0;          int x = 0, y = 0;
58    
59          for(int i=0; i<=length; i++) {          for(int i=0; i<=length; i++) {
# Line 71  public class HBroken { Line 71  public class HBroken {
71    
72              for(int j=from; j<to; j++) {              for(int j=from; j<to; j++) {
73                  HBox box = chain.getBox(j);                  HBox box = chain.getBox(j);
                 float w = box.getWidth(scale);  
                 float h = box.getHeight(scale) + box.getDepth(scale);  
74                  Object key = box.getKey();                  Object key = box.getKey();
75    
76                  int cs = vs.coordsys(coordsys, key, 0, x, y, w, h);                  int cs = vs.coordsys(coordsys, key, 0, x, y, 2, 2);
77                  box.place(vs, coordsys_outside, cs, x, y, w, h, scale);                  box.place(vs, cs, scale);
78    
79                  x += w;                  x += box.getWidth(scale);
80              }              }
81    
82              x = 0;              x = 0;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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