/[libvob]/libvob/org/nongnu/libvob/buoy/impl/FlatMarginGeometer.java
ViewVC logotype

Diff of /libvob/org/nongnu/libvob/buoy/impl/FlatMarginGeometer.java

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

revision 1.2 by tjl, Mon Aug 11 08:59:21 2003 UTC revision 1.3 by tjl, Wed Aug 13 12:08:29 2003 UTC
# Line 50  public class FlatMarginGeometer implemen Line 50  public class FlatMarginGeometer implemen
50          float xcenter = marginfraction * size[0];          float xcenter = marginfraction * size[0];
51          if(direction > 0) xcenter = size[0] - xcenter;          if(direction > 0) xcenter = size[0] - xcenter;
52    
53            // Change scale -- we always fit exactly to the given fraction
54            float desiredw = size[0] * marginfraction * 2;
55            if(scale * w > desiredw)
56                scale = desiredw / w;
57    
58          // Create coordinate system          // Create coordinate system
59          int buoyCS = vs.orthoBoxCS(          int buoyCS = vs.orthoBoxCS(
60                  this.into, key, -50,                  this.into, key, -50,

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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