/[gzz]/gzz/gzz/vob/Box.java
ViewVC logotype

Diff of /gzz/gzz/vob/Box.java

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

revision 1.1 by tjl, Mon Oct 14 10:11:13 2002 UTC revision 1.2 by tjl, Tue Oct 15 13:29:19 2002 UTC
# Line 54  public class Box { Line 54  public class Box {
54      /** Create the unit square coordsys.      /** Create the unit square coordsys.
55       */       */
56      private void createUnitCoordsys() {      private void createUnitCoordsys() {
57          unitcoordsys = vs.coords.coordsys(whcoordsys, 0, 0, 0, w, h);          unitcoordsys = vs.orthoCS(whcoordsys, uckey, 0, 0, 0, w, h);
         vs.matcher.addSub(whcoordsys, unitcoordsys, uckey);  
58      }      }
59    
60      /** Return the width of the box in the standardized coordinate      /** Return the width of the box in the standardized coordinate
# Line 83  public class Box { Line 82  public class Box {
82       */       */
83      public void setSubWH(Box parent, Object key, float bx, float by, float bw, float bh) {      public void setSubWH(Box parent, Object key, float bx, float by, float bw, float bh) {
84          vs = parent.vs;          vs = parent.vs;
85          whcoordsys = vs.coords.coordsys(parent.whcoordsys, 0, bx, by, 1, 1);          whcoordsys = vs.orthoCS(parent.whcoordsys, key, 0, bx, by, 1, 1);
86          unitcoordsys = -1;          unitcoordsys = -1;
87          w = bw;          w = bw;
88          h = bh;          h = bh;

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