/[gzz]/gzz/gzz/view/LinebrokenCellContentView.java
ViewVC logotype

Diff of /gzz/gzz/view/LinebrokenCellContentView.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by tjl, Tue Oct 29 07:30:58 2002 UTC revision 1.13 by tjl, Fri Nov 1 19:53:52 2002 UTC
# Line 62  public static final String rcsid = "$Id$ Line 62  public static final String rcsid = "$Id$
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) {

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26