gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] gzz/doc/pegboard/1009 PEG_1009.rst


From: Tuomas J. Lukka
Subject: [Gzz-commits] gzz/doc/pegboard/1009 PEG_1009.rst
Date: Sun, 06 Oct 2002 14:27:59 -0400

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Tuomas J. Lukka <address@hidden>        02/10/06 14:27:59

Modified files:
        doc/pegboard/1009: PEG_1009.rst 

Log message:
        A little more

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/doc/pegboard/1009/PEG_1009.rst.diff?tr1=1.9&tr2=1.10&r1=text&r2=text

Patches:
Index: gzz/doc/pegboard/1009/PEG_1009.rst
diff -c gzz/doc/pegboard/1009/PEG_1009.rst:1.9 
gzz/doc/pegboard/1009/PEG_1009.rst:1.10
*** gzz/doc/pegboard/1009/PEG_1009.rst:1.9      Sun Oct  6 13:24:00 2002
--- gzz/doc/pegboard/1009/PEG_1009.rst  Sun Oct  6 14:27:59 2002
***************
*** 4,11 ****
  =============================================================
  
  :Authors:  Tuomas Lukka
! :Date:     $Date: 2002/10/06 17:24:00 $
! :Revision: $Revision: 1.9 $
  :Status:   Incomplete
  
  Transformations
--- 4,11 ----
  =============================================================
  
  :Authors:  Tuomas Lukka
! :Date:     $Date: 2002/10/06 18:27:59 $
! :Revision: $Revision: 1.10 $
  :Status:   Incomplete
  
  Transformations
***************
*** 14,30 ****
  Add into VobCoorder the following convenience functions::
  
      public int translate(int into, float x, float y) {
!       return coordsys(into, 0, x, y, 1, 1);
      }
  
      public int translate(int into, float x, float y, float z) {
!       return coordsys(into, z, x, y, 1, 1);
      }
  
      public int scale(int into, float x, float y) {
!       return coordsys(into, 0, 0, 0, x, y);
      }
  
  .. IMPORTANT::
      Should 3D scaling be here as well?
      
--- 14,33 ----
  Add into VobCoorder the following convenience functions::
  
      public int translate(int into, float x, float y) {
!       return ortho(into, 0, x, y, 1, 1);
      }
  
      public int translate(int into, float x, float y, float z) {
!       return ortho(into, z, x, y, 1, 1);
      }
  
      public int scale(int into, float x, float y) {
!       return ortho(into, 0, 0, 0, x, y);
      }
  
+ and rename coordsys into ortho
+ 
+ 
  .. IMPORTANT::
      Should 3D scaling be here as well?
      
***************
*** 68,73 ****
--- 71,88 ----
  the functions must check ``instanceof`` and then throw
  NotAffineVobCoorderException, which is a subclass of
  UnsupportedOperationException.
+ 
+ For all of the above calls which create coordinate systems, have also 
+ setParameter calls. This means, for x in translate, scale, rotate,
+ orthoCoordsys, affineCoordsys, the coorder should also have a method
+ 
+     abstract public void setXParams(int id, ...);
+ 
+ for example,
+ 
+     abstract public int ortho(int into, float x, float y, float w, float h);
+     abstract public void setOrthoParams(int id, float x, float y, float w, 
float h);
+ 
  
  Transforming points into coordinate systems
  -------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]