/[gzz]/gzz/gzz/gfx/gl/PageSpanPaper.java
ViewVC logotype

Diff of /gzz/gzz/gfx/gl/PageSpanPaper.java

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

revision 1.5 by tjl, Tue Jan 28 18:42:11 2003 UTC revision 1.6 by tjl, Wed Jan 29 08:50:46 2003 UTC
# Line 15  public class PageSpanPaper { Line 15  public class PageSpanPaper {
15      /** Return the paper X coordinate for the given full page span coordinate.      /** Return the paper X coordinate for the given full page span coordinate.
16       */       */
17      public float getX(float fullPageX) {      public float getX(float fullPageX) {
18          return p.getX(fullPageX);          return w * p.getX(fullPageX) / p.x1;
19      }      }
20      public float getY(float fullPageY) {      public float getY(float fullPageY) {
21          return p.getY(fullPageY);          return h * p.getY(fullPageY) / p.y1;
22      }      }
23    
24      Object identity;      Object identity;

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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