gzz-commits
[Top][All Lists]
Advanced

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

[Gzz-commits] fenfire/org/fenfire/demo buoyoing.py


From: Benja Fallenstein
Subject: [Gzz-commits] fenfire/org/fenfire/demo buoyoing.py
Date: Mon, 09 Jun 2003 15:46:39 -0400

CVSROOT:        /cvsroot/fenfire
Module name:    fenfire
Branch:         
Changes by:     Benja Fallenstein <address@hidden>      03/06/09 15:46:39

Modified files:
        org/fenfire/demo: buoyoing.py 

Log message:
        twid buoy positioning in FenPDF

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/org/fenfire/demo/buoyoing.py.diff?tr1=1.65&tr2=1.66&r1=text&r2=text

Patches:
Index: fenfire/org/fenfire/demo/buoyoing.py
diff -u fenfire/org/fenfire/demo/buoyoing.py:1.65 
fenfire/org/fenfire/demo/buoyoing.py:1.66
--- fenfire/org/fenfire/demo/buoyoing.py:1.65   Mon Jun  9 15:41:44 2003
+++ fenfire/org/fenfire/demo/buoyoing.py        Mon Jun  9 15:46:38 2003
@@ -214,7 +214,7 @@
        buoywidth0 = w0 * 1.4
        buoyheight0 = h0 * 1.2
 
-       buoywidth1 = w1 * 1.4
+       buoywidth1 = w1 * .7
        buoyheight1 = h1 * 1.2
 
         if (dbg): pa("SET DOUBLE ", h0, h1, w0, w1, s0, s1, buoywidth0, 
buoywidth1)
@@ -234,12 +234,12 @@
        vs.coords.setOrthoBoxParams(self.buoyinto1, 1, 
                      ctrx - .5*buoywidth0, 0 +  .5*h0 - .5*buoyheight0,
                      s0, s0, 
-                     buoywidth0, buoyheight0)
+                     buoywidth0/s0, buoyheight0/s0)
 
        vs.coords.setOrthoBoxParams(self.buoyinto2, 1, 
                      ctrx - .5*buoywidth1, 0 + h0 + .5*h1 - .5*buoyheight1,
                      s1, s1, 
-                     buoywidth1, buoyheight1)
+                     buoywidth1/s1, buoyheight1/s1)
 
        
     def place(self, vs):




reply via email to

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