[gnome-software/1205-reviews-ratings-are-rounded-to-integer-stars: 6/6] gs-star-image: Scale the star to occupy the whole place




commit ded2bcd71c37a370f9ccfc9ad0050774d45212a1
Author: Milan Crha <mcrha redhat com>
Date:   Wed Jun 2 17:20:57 2021 +0200

    gs-star-image: Scale the star to occupy the whole place

 src/gs-star-image.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/gs-star-image.c b/src/gs-star-image.c
index 2fd01e30a..4cbaa2734 100644
--- a/src/gs-star-image.c
+++ b/src/gs-star-image.c
@@ -30,15 +30,15 @@ gs_star_image_outline_star (cairo_t *cr,
                gdouble x, y;
        } points[] = {
                {  0.000000, -1.000000 },
-               { -0.224513, -0.309017 },
-               { -0.951057, -0.309017 },
-               { -0.363271,  0.118034 },
-               { -0.587785,  0.809017 },
-               {  0.0,       0.381966 },
-               {  0.587785,  0.809017 },
-               {  0.363271,  0.118034 },
-               {  0.951057, -0.309017 },
-               {  0.224513, -0.309017 }
+               { -0.236075, -0.324931 },
+               { -1.000035, -0.324931 },
+               { -0.381979,  0.124112 },
+               { -0.618055,  0.850680 },
+               {  0.0,       0.401636 },
+               {  0.618055,  0.850680 },
+               {  0.381979,  0.124112 },
+               {  1.000035, -0.324931 },
+               {  0.236075, -0.324931 }
        };
        gint ii, nn = G_N_ELEMENTS (points), xx, yy;
 


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