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"); |
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 |
|
|