94 |
static Object WH_KEY = new Object(); |
static Object WH_KEY = new Object(); |
95 |
protected void placeVob(Cell c, VobScene v, int cs, float w, float h, int start, int end, |
protected void placeVob(Cell c, VobScene v, int cs, float w, float h, int start, int end, |
96 |
int offs, ViewContext context, float scale) { |
int offs, ViewContext context, float scale) { |
97 |
TextVob vob = new TextVob(style, scale, c.t().substring(start, end)); |
TextVob vob = new TextVob(style, c.t().substring(start, end)); |
98 |
int cs_wh = v.coords.coordsys(0, 0, 0, 0, w, h); |
int cs_wh = v.coords.coordsys(0, 0, 0, 0, w, h); |
99 |
((DefaultVobMatcher)v.matcher).addSub(cs, cs_wh, WH_KEY); |
((DefaultVobMatcher)v.matcher).addSub(cs, cs_wh, WH_KEY); |
100 |
v.map.put(vob, cs, cs_wh); |
v.map.put(vob, cs, cs_wh); |