/[fenfire]/fenfire/org/fenfire/view/CanvasView2D.java
ViewVC logotype

Diff of /fenfire/org/fenfire/view/CanvasView2D.java

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

revision 1.15 by mudyc, Thu May 15 15:12:00 2003 UTC revision 1.16 by mudyc, Fri May 23 14:26:08 2003 UTC
# Line 37  public static final String rcsid = "$Id$ Line 37  public static final String rcsid = "$Id$
37                         int matchingParent, int box2screen, int box2plane)                         int matchingParent, int box2screen, int box2plane)
38      {      {
39    
40          if (!RDFUtil.isNodeType(fen, container, CANVAS2D.Canvas))          if (!RDFUtil.isNodeType(fen.graph, container, CANVAS2D.Canvas))
41              throw new Error("plane is NOT a container!");              throw new Error("plane is NOT a container!");
42    
43          int paper2box = vs.invertCS(box2plane, "canvasview_INv");          int paper2box = vs.invertCS(box2plane, "canvasview_INv");
# Line 51  public static final String rcsid = "$Id$ Line 51  public static final String rcsid = "$Id$
51              Object n = iter.next();              Object n = iter.next();
52    
53              // get coords              // get coords
54              int x = RDFUtil.getInt(fen, n, CANVAS2D.x);              int x = RDFUtil.getInt(fen.graph, n, CANVAS2D.x);
55              int y = RDFUtil.getInt(fen, n, CANVAS2D.y);              int y = RDFUtil.getInt(fen.graph, n, CANVAS2D.y);
56    
57              Placeable p = (Placeable)nodeView.f(fen.constgraph, n);              Placeable p = (Placeable)nodeView.f(fen.constgraph, n);
58                            

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

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