[gtk/wip/otte/lottie: 26/30] xxx: get_stroke_bounds()




commit f59839c465252d0627f5020a54c82331812e2499
Author: Benjamin Otte <otte redhat com>
Date:   Sat Dec 26 02:49:40 2020 +0100

    xxx: get_stroke_bounds()

 gsk/gskcontour.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/gskcontour.c b/gsk/gskcontour.c
index 32bd98ec96..930d752297 100644
--- a/gsk/gskcontour.c
+++ b/gsk/gskcontour.c
@@ -1552,7 +1552,7 @@ gsk_standard_contour_get_stroke_bounds (const GskContour *contour,
 
   data.bounds = bounds;
   data.lw = stroke->line_width;
-  data.mw = MAX (stroke->miter_limit, 0.5) * stroke->line_width;
+  data.mw = MAX (stroke->miter_limit, 1.f) * stroke->line_width;
 
   graphene_rect_init (bounds, self->points[0].x - data.mw/2, self->points[0].y - data.mw/2, data.mw, 
data.mw);
 


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