/[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.11 by tjl, Mon Oct 14 10:11:12 2002 UTC revision 1.12 by tjl, Tue Oct 29 07:30:58 2002 UTC
# Line 37  import java.util.*; Line 37  import java.util.*;
37   *  Doesn't scroll, currently.   *  Doesn't scroll, currently.
38   */   */
39    
40  public class LinebrokenCellContentView implements CellContentView {  public class LinebrokenCellContentView extends CellContentView {
41  public static final String rcsid = "$Id$";  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); }
# Line 63  public static final String rcsid = "$Id$ Line 63  public static final String rcsid = "$Id$
63    
64      static Rectangle box = new Rectangle();      static Rectangle box = new Rectangle();
65      public void place(Cell c, VobScene vs, Box box,      public void place(Cell c, VobScene vs, Box box,
66                        ViewContext context, float scale) {                        ViewContext context) {
67            float scale = 1; // XXX getFontScale (see PEG vobcoorder_fontscale--tjl)
68          HChain ch = getChain(c, scale);          HChain ch = getChain(c, scale);
69          if(dbg) pa(""+box.getWidth());          if(dbg) pa(""+box.getWidth());
70          HBroken br = breaker.breakLines(ch, box.getWidth(), scale);          HBroken br = breaker.breakLines(ch, box.getWidth(), scale);

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

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