ses_layout_draw()
authoryu.dongliang <18588496441@163.com>
Tue, 31 Oct 2023 11:46:00 +0000 (19:46 +0800)
committeryu.dongliang <18588496441@163.com>
Tue, 31 Oct 2023 11:46:00 +0000 (19:46 +0800)
ses_layout.c
ses_step_simplify.c

index 2a35545a087d7e35d3ccbc0cd618dd03646f7c8e..849a8fe5808b5536f47f34ec816bfc9efe96cc4e 100644 (file)
@@ -1262,7 +1262,7 @@ int ses_layout_draw(ScfEboard* b, uint32_t bx, uint32_t by, uint32_t bw, uint32_
                        cairo_set_source_rgb  (cr, 0, 0, 0);
                        cairo_select_font_face(cr, "Georgia", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
                        cairo_set_font_size   (cr, 20);
-                       cairo_move_to         (cr, c->x + 5, c->y - 5);
+                       cairo_move_to         (cr, c->x + 10, c->y - 5);
                        cairo_show_text       (cr, text);
                        cairo_stroke(cr);
 
index 004e9aeebe1d1e776ef613b7a0e49d317b718b23..f65440ef0081cda8030c63c9f9e71f98940b9dcd 100644 (file)
@@ -93,7 +93,7 @@ static int _simplify_draw(ScfEfunction* f, uint32_t bx, uint32_t by, uint32_t bw
                cairo_set_source_rgb  (cr, 0, 0, 0);
                cairo_select_font_face(cr, "Georgia", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
                cairo_set_font_size   (cr, 20);
-               cairo_move_to         (cr, c->x + 5, c->y - 5);
+               cairo_move_to         (cr, c->x + 10, c->y - 5);
                cairo_show_text       (cr, text);
                cairo_stroke(cr);