From: erg Date: Tue, 21 Jun 2005 23:04:03 +0000 (+0000) Subject: Put back inadvertently deleted code for TOP case for flat edges. X-Git-Tag: LAST_LIBGRAPH~32^2~7506 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a3c2ceaea91a4e37319917737f6cacb057857ba0;p=graphviz Put back inadvertently deleted code for TOP case for flat edges. --- diff --git a/lib/common/splines.c b/lib/common/splines.c index 11fe65d1c..6364853b3 100644 --- a/lib/common/splines.c +++ b/lib/common/splines.c @@ -491,7 +491,9 @@ beginpath(path * P, edge_t * e, int et, pathend_t * endp, boolean merge) endp->boxn = 1; break; case TOP: - abort(); + b.LL.y = MIN(b.LL.y,P->end.p.y); + endp->boxes[0] = b; + endp->boxn = 1; break; case BOTTOM: if (endp->sidemask == TOP) { @@ -672,7 +674,9 @@ void endpath(path * P, edge_t * e, int et, pathend_t * endp, boolean merge) endp->boxn = 1; break; case TOP: - abort(); + b.LL.y = MIN(b.LL.y,P->end.p.y); + endp->boxes[0] = b; + endp->boxn = 1; break; case BOTTOM: if (endp->sidemask == TOP) {