[gtk/wip/otte/lottie: 169/173] xxx: get_stroke_bounds()
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/lottie: 169/173] xxx: get_stroke_bounds()
- Date: Sat, 26 Dec 2020 15:23:47 +0000 (UTC)
commit edb416b0dafd5eadf9dad9168c84cac792581aa1
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 af2aefadcc..adaaa25bde 100644
--- a/gsk/gskcontour.c
+++ b/gsk/gskcontour.c
@@ -1553,7 +1553,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]