]> granicus.if.org Git - graphviz/commitdiff
Fix rest of bug 754 - ellipse size has to be scaled
authorerg <devnull@localhost>
Thu, 28 Jul 2005 21:53:22 +0000 (21:53 +0000)
committererg <devnull@localhost>
Thu, 28 Jul 2005 21:53:22 +0000 (21:53 +0000)
lib/common/svggen.c

index 08fce906a742098b2629edb1bc4c2622ac375738..2a5c828415e143ea22821ac0b3915933caa38ad8 100644 (file)
@@ -774,8 +774,8 @@ static void svg_ellipse(point p, int rx, int ry, int filled)
        rx = ry;
        ry = t;
     }
-    mp.x = rx;
-    mp.y = ry;
+    mp.x = Scale*rx;
+    mp.y = Scale*ry;
     svg_printf(" rx=\"%d\" ry=\"%d\"/>\n", mp.x, mp.y);
 }