]> granicus.if.org Git - graphviz/commitdiff
Fix bug 2367
authorEmden R. Gansner <erg@research.att.com>
Fri, 13 Sep 2013 18:49:51 +0000 (14:49 -0400)
committerEmden R. Gansner <erg@research.att.com>
Fri, 13 Sep 2013 18:49:51 +0000 (14:49 -0400)
plugin/core/gvrender_core_dot.c

index 8fd91aca246a612c2ef181e93cd55c315bbe850a..25578cd4d9f88a1878e92487b5dbaf693094c087 100644 (file)
@@ -705,7 +705,7 @@ static void xdot_gradient_fillcolor (GVJ_t* job, int filled, pointf* A, int n)
        }
        else {
            c1.x = G[0].x +  (r2/4) * cos(angle);
-           c1.y = G[0].y -  (r2/4) * sin(angle);
+           c1.y = G[0].y +  (r2/4) * sin(angle);
        }
        c2.x = G[0].x;
        c2.y = G[0].y;