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

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

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

revision 1.48 by tjl, Mon Oct 7 06:21:10 2002 UTC revision 1.49 by tjl, Mon Oct 7 09:36:17 2002 UTC
# Line 33  import gzz.modules.pp.vob.TextCursorVob; Line 33  import gzz.modules.pp.vob.TextCursorVob;
33  import java.util.*;  import java.util.*;
34  import java.util.List;  import java.util.List;
35  import java.awt.*;  import java.awt.*;
36    import gzz.gfx.gl.GLVobCoorder;
37    
38  /** A scrollable plane with notes and a background. Can be integrated into a  /** A scrollable plane with notes and a background. Can be integrated into a
39   *  composite view to show associations.   *  composite view to show associations.
# Line 62  public static final String rcsid = "$Id$ Line 63  public static final String rcsid = "$Id$
63       * @param into The coordinate system which has the paper coordinates to       * @param into The coordinate system which has the paper coordinates to
64       */       */
65      public VobScene renderPaper(VobScene vs, Cell cursor, int offsetInCell,      public VobScene renderPaper(VobScene vs, Cell cursor, int offsetInCell,
66                      int into, List leftBuoys, List rightBuoys) {                      int viewport2screen, int paper2viewport, List leftBuoys, List rightBuoys) {
67    
68          if(dbg) pa("GetPaperscene: "+cursor);          if(dbg) pa("GetPaperscene: "+cursor);
69    
# Line 70  public static final String rcsid = "$Id$ Line 71  public static final String rcsid = "$Id$
71          Cell note = plane.s(Win.d_contains);          Cell note = plane.s(Win.d_contains);
72    
73          BgVob bg = BgVob.create(plane);          BgVob bg = BgVob.create(plane);
74            int bginto = vs.coords.coordsys(viewport2screen, 500, 0, 0, 1, 1);
75            int bgpap = vs.coords.coordsys(paper2viewport, 0, 0, 0, 100, 100);
76            vs.matcher.add(bginto, "BGTRANS");
77            vs.map.put(bg, bginto, bgpap);
78    
79            int into = ((GLVobCoorder)vs.coords).concat(viewport2screen, paper2viewport);
80    
81          Space space = cursor.space;          Space space = cursor.space;
82          Dim d_1 = space.getDim(Ids.d_1);          Dim d_1 = space.getDim(Ids.d_1);

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.49

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