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

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

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

revision 1.1 by tjl, Sat Aug 9 11:15:50 2003 UTC revision 1.2 by tjl, Sat Aug 9 13:28:35 2003 UTC
# Line 24  public class RatioBuoyOnCircleGeometer e Line 24  public class RatioBuoyOnCircleGeometer e
24    
25      public void prepare(VobScene vs, int into, Object key, boolean create) {      public void prepare(VobScene vs, int into, Object key, boolean create) {
26          if(create) {          if(create) {
27              this.buoyinto = vs.orthoCS(into, key, 1, 1, 1,  1, 1);              this.buoyinto = vs.orthoBoxCS(into, key, 1, 1, 1,  1, 1, 1, 1);
28          } else {          } else {
29              this.buoyinto = vs.matcher.getCS(into, key);              this.buoyinto = vs.matcher.getCS(into, key);
30          }          }
31          vs.coords.getSqSize(into, tmp);          vs.coords.getSqSize(into, tmp);
32    
33          vs.coords.setOrthoParams(this.buoyinto,          vs.coords.setOrthoBoxParams(this.buoyinto,
34                      0, x * tmp[0], y * tmp[1], w * tmp[0], h * tmp[1]);                      0, x * tmp[0], y * tmp[1], 1, 1, w * tmp[0], h * tmp[1]);
35      }      }
36  }  }

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

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