62 |
} |
} |
63 |
|
|
64 |
static Rectangle box = new Rectangle(); |
static Rectangle box = new Rectangle(); |
65 |
public void place(Cell c, VobScene vs, Box box, |
float[] boxwh = new float[2]; |
66 |
|
public void place(Cell c, VobScene vs, int box, |
67 |
ViewContext context) { |
ViewContext context) { |
68 |
float scale = 1; // XXX getFontScale (see PEG vobcoorder_fontscale--tjl) |
float scale = 1; // XXX getFontScale (see PEG vobcoorder_fontscale--tjl) |
69 |
HChain ch = getChain(c, scale); |
HChain ch = getChain(c, scale); |
70 |
if(dbg) pa(""+box.getWidth()); |
vs.coords.getSqSize(box, boxwh); |
71 |
HBroken br = breaker.breakLines(ch, box.getWidth(), scale); |
if(dbg) pa(""+boxwh[0]); |
72 |
br.put(vs, box.getWHCoordsys()); |
HBroken br = breaker.breakLines(ch, boxwh[0], scale); |
73 |
|
br.put(vs, box); |
74 |
} |
} |
75 |
|
|
76 |
protected HChain getChain(Cell c, float scale) { |
protected HChain getChain(Cell c, float scale) { |