]> granicus.if.org Git - graphviz/commitdiff
fix for b1256
authorellson <devnull@localhost>
Mon, 24 Dec 2007 04:26:41 +0000 (04:26 +0000)
committerellson <devnull@localhost>
Mon, 24 Dec 2007 04:26:41 +0000 (04:26 +0000)
plugin/pango/gvrender_pango.c

index 1e32f928117da7e2aec5b3167e0f8ccf27496fdd..3a6231ac99fd4a944b0fc6fdb3573deaa093c1a4 100644 (file)
@@ -332,6 +332,10 @@ cairogen_bezier(GVJ_t * job, pointf * A, int n, int arrow_at_start,
     for (i = 1; i < n; i += 3)
        cairo_curve_to(cr, A[i].x, -A[i].y, A[i + 1].x, -A[i + 1].y,
                       A[i + 2].x, -A[i + 2].y);
+    if (filled) {
+       cairogen_set_color(cr, &(obj->fillcolor));
+       cairo_fill_preserve(cr);
+    }
     cairogen_set_color(cr, &(obj->pencolor));
     cairo_stroke(cr);
 }