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++) { |
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; |