[gtk+/wip/baedert/gl: 17/90] recorder: Show rounded clip node corner size info



commit 96f63077759541bc240b295a81857b515460811f
Author: Timm Bäder <mail baedert org>
Date:   Wed Dec 6 15:54:19 2017 +0100

    recorder: Show rounded clip node corner size info

 gtk/inspector/recorder.c |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/gtk/inspector/recorder.c b/gtk/inspector/recorder.c
index 9cbd4ed..921b21d 100644
--- a/gtk/inspector/recorder.c
+++ b/gtk/inspector/recorder.c
@@ -577,6 +577,22 @@ populate_render_node_properties (GtkListStore  *store,
                                clip->bounds.origin.y);
         add_text_row (store, "Clip", tmp);
         g_free (tmp);
+
+        tmp = g_strdup_printf ("%.2f x %.2f", clip->corner[0].width, clip->corner[0].height);
+        add_text_row (store, "Top Left Corner Size", tmp);
+        g_free (tmp);
+
+        tmp = g_strdup_printf ("%.2f x %.2f", clip->corner[1].width, clip->corner[1].height);
+        add_text_row (store, "Top Right Corner Size", tmp);
+        g_free (tmp);
+
+        tmp = g_strdup_printf ("%.2f x %.2f", clip->corner[2].width, clip->corner[2].height);
+        add_text_row (store, "Bottom Right Corner Size", tmp);
+        g_free (tmp);
+
+        tmp = g_strdup_printf ("%.2f x %.2f", clip->corner[3].width, clip->corner[3].height);
+        add_text_row (store, "Bottom Left Corner Size", tmp);
+        g_free (tmp);
       }
       break;
 


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