[gegl] perf: adjust font sizes in report



commit a0861b4816de56dbeb0fc015ddeb377e4b8ad8e9
Author: Øyvind Kolås <pippin gimp org>
Date:   Sat Jan 13 21:46:11 2018 +0100

    perf: adjust font sizes in report

 perf/create-report.rb |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/perf/create-report.rb b/perf/create-report.rb
index cfebe8d..eda15d9 100755
--- a/perf/create-report.rb
+++ b/perf/create-report.rb
@@ -154,13 +154,14 @@ class Database
     def drawtext cr
       i = 0
       @runs.each { |run|
-        y = i * 10 + 20
+        y = i * 20 + 20
         while y > @height - @marginy
           y = y - @height + @marginy + 10
         end
         cr.move_to 1.0 * i / @runs.length * (@width - @marginlx-@marginrx) + @marginlx, y
 
         cr.set_source_rgba(0.6,0.6,0.6,1)
+        cr.set_font_size(20)
         cr.show_text(run[0..6])
         i+=1
       }
@@ -179,7 +180,8 @@ class Database
       max = val_max(key)
 
       cr.set_source_rgba(@colors[valno])
-      cr.move_to(@width - @marginrx + @rgap, valno * 14 + @marginy + 20)
+      cr.move_to(@width - @marginrx + @rgap, valno * 18 + @marginy + 20)
+      cr.set_font_size(18)
       cr.show_text(key)
 
       cr.line_width = 2


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