62 |
} |
} |
63 |
|
|
64 |
static Rectangle box = new Rectangle(); |
static Rectangle box = new Rectangle(); |
65 |
public void place(Cell c, VobScene vs, int coordsys, float w, float h, |
public void place(Cell c, VobScene vs, Box box, |
66 |
ViewContext context, float scale) { |
ViewContext context, float scale) { |
67 |
HChain ch = getChain(c, scale); |
HChain ch = getChain(c, scale); |
68 |
if(dbg) pa(""+w); |
if(dbg) pa(""+box.getWidth()); |
69 |
HBroken br = breaker.breakLines(ch, w, scale); |
HBroken br = breaker.breakLines(ch, box.getWidth(), scale); |
70 |
br.put(vs, coordsys); |
br.put(vs, box.getWHCoordsys()); |
71 |
} |
} |
72 |
|
|
73 |
protected HChain getChain(Cell c, float scale) { |
protected HChain getChain(Cell c, float scale) { |