122 |
* will be set to the center of the frameCS, and |
* will be set to the center of the frameCS, and |
123 |
* the scale is 1 to 1 pixel. |
* the scale is 1 to 1 pixel. |
124 |
*/ |
*/ |
125 |
void render(final VobScene vs, final int frameCS, final int panZoom, |
void render(final VobScene vs, final int frameCS, final int panZoom, |
126 |
|
final int inversePanZoom, |
127 |
CellPlacementHook hook) { |
CellPlacementHook hook) { |
128 |
final CellPlacementHook hook_final = hook; |
final CellPlacementHook hook_final = hook; |
129 |
|
|
158 |
|
|
159 |
final int frameUnit = vs.unitSqCS(frameCS, "USQ"); |
final int frameUnit = vs.unitSqCS(frameCS, "USQ"); |
160 |
|
|
161 |
// Irregu needs frame 2 paper |
final int frameUnit2paper = vs.orthoCS(0, "PZIN", 0, -sqs[0]/2, -sqs[1]/2, sqs[0], sqs[1]); |
162 |
final int screen2paper = glc.invert(paper2screen); |
|
|
vs.matcher.add(paper2screen, screen2paper, "INVER2S"); |
|
|
final int frameUnit2paper = glc.concat(screen2paper, frameUnit); |
|
|
vs.matcher.add(screen2paper, frameUnit2paper, "f2pap"); |
|
163 |
|
|
164 |
final int paper2screen_shifted = vs.translateCS(paper2screen, |
final int paper2screen_shifted = vs.translateCS(paper2screen, |
165 |
"SHIFTUP", |
"SHIFTUP", |