From: ellson Date: Tue, 5 Feb 2008 22:22:38 +0000 (+0000) Subject: better arrow scaling with penwidth - upto about 10 X-Git-Tag: LAST_LIBGRAPH~32^2~4762 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=57a1ef2431f0437574c2fb69cbec0f6caf3fa137;p=graphviz better arrow scaling with penwidth - upto about 10 --- diff --git a/lib/common/emit.c b/lib/common/emit.c index 8c9b1ae4d..47bef19be 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -1274,7 +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; + if (job->obj->penwidth > 4) + scale *= job->obj->penwidth / 4; /* need to know how many colors separated by ':' */ for (p = color; *p; p++)