]> granicus.if.org Git - graphviz/commitdiff
Fix point shape to use penwidth attribute
authorEmden R. Gansner <erg@alum.mit.edu>
Thu, 17 Apr 2014 19:17:03 +0000 (15:17 -0400)
committerEmden R. Gansner <erg@alum.mit.edu>
Thu, 17 Apr 2014 19:17:03 +0000 (15:17 -0400)
lib/common/shapes.c

index 959110c3747d30ee193d78acc231b8edfd48306c..3cb2cfb545e17f3107317bec2f748ce36e415d28 100644 (file)
@@ -3074,6 +3074,8 @@ static void point_gencode(GVJ_t * job, node_t * n)
        gvrender_set_style(job, point_style);
     else
        gvrender_set_style(job, &point_style[1]);
+    if (N_penwidth)
+       gvrender_set_penwidth(job, late_double(n, N_penwidth, 1.0, 0.0));
 
     if (ND_gui_state(n) & GUI_STATE_ACTIVE) {
        color = late_nnstring(n, N_activepencolor, DEFAULT_ACTIVEPENCOLOR);