From: ellson Date: Tue, 5 Feb 2008 20:59:16 +0000 (+0000) Subject: scale arrow by penwidth X-Git-Tag: LAST_LIBGRAPH~32^2~4763 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e2d182faae8c24b3a58ab2dcbcdafffe99af0a3b;p=graphviz scale arrow by penwidth --- diff --git a/lib/common/emit.c b/lib/common/emit.c index 94cf8c292..8c9b1ae4d 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -1274,6 +1274,8 @@ static void emit_edge_graphics(GVJ_t * job, edge_t * e, char** styles) scale = late_double(e, E_arrowsz, 1.0, 0.0); color = late_string(e, E_color, ""); + scale *= job->obj->penwidth / PENWIDTH_NORMAL; + /* need to know how many colors separated by ':' */ for (p = color; *p; p++) if (*p == ':')