46 |
int str = 0; // Stretch |
int str = 0; // Stretch |
47 |
int shr = 0; // Shrink |
int shr = 0; // Shrink |
48 |
|
|
49 |
int[] glues = ch.glues; |
float[] glues = ch.glues; |
50 |
for(int i=start; i<end; i++) { |
for(int i=start; i<end; i++) { |
51 |
wid += ch.boxes[i].getWidth(scale); |
wid += ch.boxes[i].getWidth(scale); |
52 |
if(i > start /* || i == 0 */ ) { // XXX Think out and test |
if(i > start /* || i == 0 */ ) { // XXX Think out and test |
99 |
double over = 0; |
double over = 0; |
100 |
|
|
101 |
HBox[] boxes = ch.boxes; |
HBox[] boxes = ch.boxes; |
102 |
int[] glues = ch.glues; |
float[] glues = ch.glues; |
103 |
for(int i=start; i<end; i++) { |
for(int i=start; i<end; i++) { |
104 |
int curwid = (int)boxes[i].getWidth(scale); |
int curwid = (int)boxes[i].getWidth(scale); |
105 |
int curhei = (int)boxes[i].getHeight(scale); |
int curhei = (int)boxes[i].getHeight(scale); |