gzz-commits
[Top][All Lists]
Advanced

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

[Gzz-commits] libvob/org/nongnu/libvob/buoy/impl BuoyOnCircle...


From: Tuomas J. Lukka
Subject: [Gzz-commits] libvob/org/nongnu/libvob/buoy/impl BuoyOnCircle...
Date: Mon, 11 Aug 2003 04:57:55 -0400

CVSROOT:        /cvsroot/libvob
Module name:    libvob
Branch:         
Changes by:     Tuomas J. Lukka <address@hidden>        03/08/11 04:57:55

Modified files:
        org/nongnu/libvob/buoy/impl: BuoyOnCircleGeometer.java 
Added files:
        org/nongnu/libvob/buoy/impl: FlatMarginGeometer.java 

Log message:
        Flat margin geometer

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/org/nongnu/libvob/buoy/impl/FlatMarginGeometer.java?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/org/nongnu/libvob/buoy/impl/BuoyOnCircleGeometer.java.diff?tr1=1.3&tr2=1.4&r1=text&r2=text

Patches:
Index: libvob/org/nongnu/libvob/buoy/impl/BuoyOnCircleGeometer.java
diff -u libvob/org/nongnu/libvob/buoy/impl/BuoyOnCircleGeometer.java:1.3 
libvob/org/nongnu/libvob/buoy/impl/BuoyOnCircleGeometer.java:1.4
--- libvob/org/nongnu/libvob/buoy/impl/BuoyOnCircleGeometer.java:1.3    Sat Aug 
 9 10:39:44 2003
+++ libvob/org/nongnu/libvob/buoy/impl/BuoyOnCircleGeometer.java        Mon Aug 
11 04:57:55 2003
@@ -55,6 +55,8 @@
                int index, int total,
                float w, float h, float scale) {
        int shiftedAnchor = anchor;
+
+       // Shift the anchor, if required
        if(shiftFactor != 0) {
            float shift = index;
            if(index > 0)
@@ -79,7 +81,8 @@
                                    direction, 10);
 
        int inBuoy = vs.coords.orthoBox(buoy, 
-                           -100, -w/2, -h/2, scale, scale, w, h);
+                           -100, -w/2 * scale, -h/2 * scale, 
+                                   scale, scale, w, h);
 
        vs.matcher.add(this.buoyinto, inBuoy, key);
 




reply via email to

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