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