/[gzz]/gzz/gzz/modules/pp2/SinglePaper.java
ViewVC logotype

Diff of /gzz/gzz/modules/pp2/SinglePaper.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by tjl, Wed Feb 12 14:31:56 2003 UTC revision 1.10 by tjl, Wed Feb 12 14:49:09 2003 UTC
# Line 122  private static final String rcsid = "$Id Line 122  private static final String rcsid = "$Id
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    
# Line 157  private static final String rcsid = "$Id Line 158  private static final String rcsid = "$Id
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",

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26