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

Diff of /gzz/gzz/vob/OrthoCoordsys.java

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

revision 1.5 by tjl, Wed Sep 25 14:45:43 2002 UTC revision 1.6 by tjl, Tue Oct 15 13:29:19 2002 UTC
# Line 65  class OrthoCoordsys { Line 65  class OrthoCoordsys {
65                                                      float mw, float mh) {                                                      float mw, float mh) {
66          int cs = next();          int cs = next();
67    
68            parent[cs] = mparent;
69            setParams(cs, mdepth, mx, my, mw, mh);
70    
71            nancestors[cs] = nancestors[mparent] + 1;
72    
73            nextHashtableEntry[cs] = 0;
74    
75            return cs;
76        }
77    
78        void setParams(int cs, float mdepth, float mx, float my,
79                            float mw, float mh) {
80            int mparent = parent[cs];
81    
82          w[cs] = mw;          w[cs] = mw;
83          h[cs] = mh;          h[cs] = mh;
84    
# Line 73  class OrthoCoordsys { Line 87  class OrthoCoordsys {
87          x[cs] = x[mparent] + mx;          x[cs] = x[mparent] + mx;
88          y[cs] = y[mparent] + my;          y[cs] = y[mparent] + my;
89    
         parent[cs] = mparent;  
         nancestors[cs] = nancestors[mparent] + 1;  
90    
         nextHashtableEntry[cs] = 0;  
   
         return cs;  
91      }      }
92    
93      protected int next() {      protected int next() {

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