/[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.6 by tjl, Fri Sep 27 09:07:56 2002 UTC revision 1.7 by benja, Sat Sep 28 22:55:13 2002 UTC
# Line 42  public static final String rcsid = "$Id$ Line 42  public static final String rcsid = "$Id$
42      public static boolean dbg = false;      public static boolean dbg = false;
43      private static void p(String s) { if(dbg) pa(s); }      private static void p(String s) { if(dbg) pa(s); }
44      private static void pa(String s) { System.err.println(s); }      private static void pa(String s) { System.err.println(s); }
45        
46        static Object ARGH_KEY = new Object();
47    
48      TextStyle style;      TextStyle style;
49      SimpleLinebreaker breaker = new SimpleLinebreaker();      SimpleLinebreaker breaker = new SimpleLinebreaker();
# Line 64  public static final String rcsid = "$Id$ Line 66  public static final String rcsid = "$Id$
66          HChain ch = getChain(c, scale);          HChain ch = getChain(c, scale);
67          if(dbg) pa(""+w);          if(dbg) pa(""+w);
68          HBroken br = breaker.breakLines(ch, w, scale);          HBroken br = breaker.breakLines(ch, w, scale);
69          br.put(vs, coordsys_box);          
70            //argh!
71            int cs = vs.coords.coordsys(coordsys_outside, 0, x, y, 2, 2);
72            ((DefaultVobMatcher)vs.matcher).addSub(coordsys_box, cs, ARGH_KEY);
73            
74            br.put(vs, coordsys_outside, cs);
75      }      }
76    
77      protected HChain getChain(Cell c, float scale) {      protected HChain getChain(Cell c, float scale) {

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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