179 |
// Now, it is important that it is |
// Now, it is important that it is |
180 |
// 1) transformation-descended from 0, since it is |
// 1) transformation-descended from 0, since it is |
181 |
// just the pan-zoom part |
// just the pan-zoom part |
182 |
c2fCS = vs.coords.ortho(0, 0,0,0, 10,10); |
c2fCS = vs.coords.ortho(0, 42, 42, 42, 42, 42); |
183 |
// 2) Child of "into", for correct interpolation. |
// 2) Child of "into", for correct interpolation. |
184 |
vs.matcher.add(into, c2fCS, "C2F"); |
vs.matcher.add(into, c2fCS, "C2F"); |
185 |
|
|
186 |
// The inverse of the previous transform; same |
// The inverse of the previous transform; same |
187 |
// rules apply. |
// rules apply. |
188 |
int c2fCSInv = vs.coords.ortho(0, 0,0,0, 10,10); |
int c2fCSInv = vs.coords.ortho(0, 42, 42, 42, 42, 42); |
189 |
vs.matcher.add(into, c2fCSInv, "C2FINV"); |
vs.matcher.add(into, c2fCSInv, "C2FINV"); |
190 |
|
|
191 |
setZoomPan(vs, into); |
setZoomPan(vs, into); |