/[fenfire]/fenfire/org/fenfire/modules/pp/PPCanvasNode.java
ViewVC logotype

Diff of /fenfire/org/fenfire/modules/pp/PPCanvasNode.java

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

revision 1.16 by mudyc, Wed Apr 16 05:36:12 2003 UTC revision 1.17 by mudyc, Wed Apr 16 07:51:05 2003 UTC
# Line 91  private static final String rcsid = "$Id Line 91  private static final String rcsid = "$Id
91    
92          if (GraphicsAPI.getInstance() instanceof GLAPI) {          if (GraphicsAPI.getInstance() instanceof GLAPI) {
93              final int c2fCS =              final int c2fCS =
94                  vs.coords.ortho(0, 0,  -pan[0]*buoyZoom, -pan[1]*buoyZoom, buoyZoom, buoyZoom);                  vs.orthoCS(into, "C2F",0,  -pan[0]*buoyZoom, -pan[1]*buoyZoom, buoyZoom, buoyZoom);
95              final int c2fCSInv =              final int c2fCSInv =
96                  vs.coords.ortho(0, 0,  pan[0], pan[1], 1/buoyZoom, 1/buoyZoom);                  vs.orthoCS(into, "C2FINV",0,  (float)pan[0], (float)pan[1], 1/buoyZoom, 1/buoyZoom);
97              vs.matcher.add(into, c2fCS, "C2F");  
98              vs.matcher.add(into, c2fCSInv, "C2FINV");              SinglePaper.i(fen, node, win, nodeview)
99                    .render(vs, into, c2fCS, c2fCSInv, null);
100    
             //SinglePaper.i(space, d,win,c, nodeview).render(vs, into, c2fCS, c2fCSInv, null);  
             /*  
             int c2fCS = vs.orthoCS(into, "C2F",0,0,0, 10,10);  
             int c2fCSInv = vs.orthoCS(into, "C2FINV",0,0,0, 10,10);  
               
             setZoomPan(vs, into);  
             // XXX SinglePaper.i(space, d, window, current, nodeview).render(vs, into, c2fCS, c2fCSInv, hook);  
             */  
101          } else {          } else {
102              int zo = (int)(buoyZoom * 100000);              int zo = (int)(buoyZoom * 100000);
103              int geometry = vs.orthoBoxCS(into, "FocusGeometry",0, zo,0, 1,1, pan[0], pan[1]);                int geometry = vs.orthoBoxCS(into, "FocusGeometry",0, zo,0, 1,1, pan[0], pan[1]);  

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

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