60 |
} |
} |
61 |
|
|
62 |
static Rectangle box = new Rectangle(); |
static Rectangle box = new Rectangle(); |
63 |
public void place(Cell c, VobScene vs, int cs, ViewContext context, float scale) { |
public void place(Cell c, VobScene vs, int coordsys_outside, int coordsys_box, float x, float y, float w, float h, ViewContext context, float scale) { |
64 |
HChain ch = getChain(c, scale); |
HChain ch = getChain(c, scale); |
65 |
vs.coords.getRenderInfo(cs).getExtRect(box); |
if(dbg) pa(""+w); |
66 |
if(dbg) pa(""+box); |
HBroken br = breaker.breakLines(ch, w, scale); |
67 |
HBroken br = breaker.breakLines(ch, box.width, scale); |
br.put(vs, coordsys_box); |
|
br.put(vs, cs); |
|
68 |
} |
} |
69 |
|
|
70 |
protected HChain getChain(Cell c, float scale) { |
protected HChain getChain(Cell c, float scale) { |