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:54:00 -0400

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

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.66&tr2=1.67&r1=text&r2=text

Patches:
Index: fenfire/org/fenfire/demo/buoyoing.py
diff -u fenfire/org/fenfire/demo/buoyoing.py:1.66 
fenfire/org/fenfire/demo/buoyoing.py:1.67
--- fenfire/org/fenfire/demo/buoyoing.py:1.66   Mon Jun  9 15:46:38 2003
+++ fenfire/org/fenfire/demo/buoyoing.py        Mon Jun  9 15:54:00 2003
@@ -211,11 +211,11 @@
 
        ctrx = w/2
 
-       buoywidth0 = w0 * 1.4
+       buoywidth0 = w0 * 1.2
        buoyheight0 = h0 * 1.2
 
        buoywidth1 = w1 * .7
-       buoyheight1 = h1 * 1.2
+       buoyheight1 = h1 * 1
 
         if (dbg): pa("SET DOUBLE ", h0, h1, w0, w1, s0, s1, buoywidth0, 
buoywidth1)
 
@@ -237,7 +237,7 @@
                      buoywidth0/s0, buoyheight0/s0)
 
        vs.coords.setOrthoBoxParams(self.buoyinto2, 1, 
-                     ctrx - .5*buoywidth1, 0 + h0 + .5*h1 - .5*buoyheight1,
+                     ctrx - .5*buoywidth1, h-h1+50,
                      s1, s1, 
                      buoywidth1/s1, buoyheight1/s1)
 




reply via email to

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