gzz-commits
[Top][All Lists]
Advanced

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

[Gzz-commits] gzz/gfx demo/fisheye.py demo/xupdf.py libpaper/...


From: Janne V. Kujala
Subject: [Gzz-commits] gzz/gfx demo/fisheye.py demo/xupdf.py libpaper/...
Date: Fri, 20 Sep 2002 09:04:36 -0400

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Janne V. Kujala <address@hidden>        02/09/20 09:04:36

Modified files:
        gfx/demo       : fisheye.py xupdf.py 
        gfx/libpaper   : papermill.py 
Added files:
        gfx/libpaper   : params.py 

Log message:
        Start paper params registry

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/demo/fisheye.py.diff?tr1=1.19&tr2=1.20&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/demo/xupdf.py.diff?tr1=1.18&tr2=1.19&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/libpaper/params.py?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/libpaper/papermill.py.diff?tr1=1.24&tr2=1.25&r1=text&r2=text

Patches:
Index: gzz/gfx/demo/fisheye.py
diff -c gzz/gfx/demo/fisheye.py:1.19 gzz/gfx/demo/fisheye.py:1.20
*** gzz/gfx/demo/fisheye.py:1.19        Wed Sep 18 08:26:24 2002
--- gzz/gfx/demo/fisheye.py     Fri Sep 20 09:04:36 2002
***************
*** 159,165 ****
  
        cs1 = vs.coords.affineCoordsys(0, "1", 10, px, py, 400 * ps, 0, 0, 400 
* ps)
  
!       cs2 = vs.coords.affineCoordsys(0, "2", 10 - bm, bx, by, 
                                         400 * bs * math.exp(+bl) * 
math.cos(ba),
                                         400 * bs * math.exp(+bl) * 
math.sin(ba),
                                         400 * bs * math.exp(-bl) 
*-math.sin(ba),
--- 159,165 ----
  
        cs1 = vs.coords.affineCoordsys(0, "1", 10, px, py, 400 * ps, 0, 0, 400 
* ps)
  
!       cs2 = vs.coords.affineCoordsys(0, "2", 1.0/bm, bx, by, 
                                         400 * bs * math.exp(+bl) * 
math.cos(ba),
                                         400 * bs * math.exp(+bl) * 
math.sin(ba),
                                         400 * bs * math.exp(-bl) 
*-math.sin(ba),
Index: gzz/gfx/demo/xupdf.py
diff -c gzz/gfx/demo/xupdf.py:1.18 gzz/gfx/demo/xupdf.py:1.19
*** gzz/gfx/demo/xupdf.py:1.18  Thu Sep 19 03:15:20 2002
--- gzz/gfx/demo/xupdf.py       Fri Sep 20 09:04:36 2002
***************
*** 229,235 ****
      print papers
      grid = 13
      if cliprect == None:
!       fishargs = (0, 0, papers[0][1][1], papers[0][1][2], grid, grid, 3)
      else:
        pscale = 1 / 72.0 / 6
        fishargs = (cliprect[0]*pscale, cliprect[1]*pscale,
--- 229,235 ----
      print papers
      grid = 13
      if cliprect == None:
!       fishargs = (0, 0, papers[0][1][1], papers[0][1][2], grid, grid, 1)
      else:
        pscale = 1 / 72.0 / 6
        fishargs = (cliprect[0]*pscale, cliprect[1]*pscale,
***************
*** 337,343 ****
        cs2 = vs.coords.affineCoordsys(0, globalcursor.getId()+"__bulg", 
                    0.06,
                    0,  0,
!                   7, 0,0, 9)
  
        class CentralB(Runnable):
            def run(rself):
--- 337,343 ----
        cs2 = vs.coords.affineCoordsys(0, globalcursor.getId()+"__bulg", 
                    0.06,
                    0,  0,
!                   20, 0,0, 20)
  
        class CentralB(Runnable):
            def run(rself):
Index: gzz/gfx/libpaper/papermill.py
diff -c gzz/gfx/libpaper/papermill.py:1.24 gzz/gfx/libpaper/papermill.py:1.25
*** gzz/gfx/libpaper/papermill.py:1.24  Wed Sep  4 06:05:21 2002
--- gzz/gfx/libpaper/papermill.py       Fri Sep 20 09:04:36 2002
***************
*** 25,30 ****
--- 25,31 ----
        "textures.py",
        "texcoords.py",
        "colors.py",
+         "params.py"
        ]
  
      #




reply via email to

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