From: Emden Gansner Date: Thu, 12 Jul 2012 16:27:28 +0000 (-0400) Subject: Implement lcurve and rcurve. X-Git-Tag: LAST_LIBGRAPH~32^2~374 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68f9e185895a404e1d733809dd0aaff847bc6419;p=graphviz Implement lcurve and rcurve. --- diff --git a/lib/common/arrows.c b/lib/common/arrows.c index 097b6763b..1667557ac 100644 --- a/lib/common/arrows.c +++ b/lib/common/arrows.c @@ -636,6 +636,10 @@ static void arrow_type_curve(GVJ_t* job, pointf p, pointf u, double arrowsize, d AF[2].y = AF[3].y - w.y * 4.0 / 3.0; gvrender_polyline(job, a, 2); + if (flag & ARR_MOD_LEFT) + Bezier(AF, 3, 0.5, NULL, AF); + else if (flag & ARR_MOD_RIGHT) + Bezier(AF, 3, 0.5, AF, NULL); gvrender_beziercurve(job, AF, sizeof(AF) / sizeof(pointf), FALSE, FALSE, FALSE); }