34 |
import org.nongnu.libvob.*; |
import org.nongnu.libvob.*; |
35 |
import org.nongnu.libvob.buoy.*; |
import org.nongnu.libvob.buoy.*; |
36 |
import org.nongnu.libvob.impl.DefaultVobMatcher; |
import org.nongnu.libvob.impl.DefaultVobMatcher; |
|
import org.nongnu.libvob.lava.placeable.Placeable; |
|
37 |
|
|
38 |
import java.util.Iterator; |
import java.util.Iterator; |
39 |
|
|
120 |
if (node == null) throw new Error("Impossible!"); |
if (node == null) throw new Error("Impossible!"); |
121 |
float x = RDFUtil.getFloat(fen.graph, node, CANVAS2D.x); |
float x = RDFUtil.getFloat(fen.graph, node, CANVAS2D.x); |
122 |
float y = RDFUtil.getFloat(fen.graph, node, CANVAS2D.y); |
float y = RDFUtil.getFloat(fen.graph, node, CANVAS2D.y); |
123 |
Placeable p = (Placeable)nodeView.f(fen.constgraph, node); |
org.nongnu.libvob.lava.placeable.Placeable p = |
124 |
|
(org.nongnu.libvob.lava.placeable.Placeable)nodeView.f(fen.constgraph, node); |
125 |
return new java.awt.Rectangle((int)(x-dx), (int)(y-dy), |
return new java.awt.Rectangle((int)(x-dx), (int)(y-dy), |
126 |
(int)p.getWidth()+dx+dx, |
(int)p.getWidth()+dx+dx, |
127 |
(int)p.getHeight()+dy+dy); |
(int)p.getHeight()+dy+dy); |