/[gzz]/gzz/gzz/modules/pp/PPView2.java
ViewVC logotype

Diff of /gzz/gzz/modules/pp/PPView2.java

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

revision 1.57 by mudyc, Sat Jan 11 17:35:33 2003 UTC revision 1.58 by mudyc, Mon Jan 13 08:01:17 2003 UTC
# Line 37  import java.util.*; Line 37  import java.util.*;
37    
38  public class PPView2 implements View {  public class PPView2 implements View {
39  public static final String rcsid = "$Id$";  public static final String rcsid = "$Id$";
40      public static boolean dbg = true;      public static boolean dbg = false;
41      private static void pa(String s) { System.err.println(s); }      private static void pa(String s) { System.err.println(s); }
42    
43      public static Object NEWPAPERKEY = new Object();      public static Object NEWPAPERKEY = new Object();
# Line 192  public static final String rcsid = "$Id$ Line 192  public static final String rcsid = "$Id$
192              float[] sqs = new float[2];              float[] sqs = new float[2];
193              glc.getSqSize(frameCS, sqs);              glc.getSqSize(frameCS, sqs);
194              if (sqs[1] < 5) return;              if (sqs[1] < 5) return;
195              pa("Sqs frame: "+sqs[0]+" "+sqs[1]);              if (dbg) pa("Sqs frame: "+sqs[0]+" "+sqs[1]);
196    
197              // CS from center of frameCS to screen              // CS from center of frameCS to screen
198              int framecenterCS = vs.translateCS(frameCS, "FCTR", sqs[0]/2, sqs[1]/2);              int framecenterCS = vs.translateCS(frameCS, "FCTR", sqs[0]/2, sqs[1]/2);
# Line 367  public static final String rcsid = "$Id$ Line 367  public static final String rcsid = "$Id$
367    
368      TextStyle style = GraphicsAPI.getInstance().getTextStyle("Sans", 0, 20);      TextStyle style = GraphicsAPI.getInstance().getTextStyle("Sans", 0, 20);
369      //CellView cellview = new ImageCell(new TextCellContentView(style));      //CellView cellview = new ImageCell(new TextCellContentView(style));
370      CellView cellview = new ImageCell(new LinebrokenCellContentView(style));      //CellView cellview = new ImageCell(new LinebrokenCellContentView(style));
371        CellView cellview = new ImageCell(new PPCellView(style,
372            "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"));
373    
374      // public so can be replaced from jython      // public so can be replaced from jython
375      public Vob filletState = GLCache.getCallList(      public Vob filletState = GLCache.getCallList(

Legend:
Removed from v.1.57  
changed lines
  Added in v.1.58

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