[dia] Bug 535869 - Cusp-control bezier lines artifacts on screen when moved



commit 6a6757749ad3f4de5074d985a2b95b5a7c965b5c
Author: Hans Breuer <hans breuer org>
Date:   Sun Oct 25 14:42:57 2009 +0100

    Bug 535869 - Cusp-control bezier lines artifacts on screen when moved
    
    Only the last segment might not contribute a point edge. Short testing
    with cusp-control bezier and polyline: could not make the artifacts
    appear any longer.

 lib/boundingbox.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/boundingbox.c b/lib/boundingbox.c
index 6d2749f..4832eec 100644
--- a/lib/boundingbox.c
+++ b/lib/boundingbox.c
@@ -494,7 +494,7 @@ polybezier_bbox(const BezPoint *pts, int numpoints,
        account with the "pointy corners" X (and PS) add when LINEJOIN_MITER mode is 
        in force. */
 
-    if ((!start) && (!end)) { /* We have a non-extremity vertex. */
+    if (!end) { /* only the last segment might not produce overshoot. */
       Point vpx,vxn;
       real co,alpha;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]