From 0db5fdb41deb8992fe41215177dcb53419d00307 Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Tue, 31 Oct 2023 19:46:00 +0800 Subject: [PATCH] ses_layout_draw() --- ses_layout.c | 2 +- ses_step_simplify.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ses_layout.c b/ses_layout.c index 2a35545..849a8fe 100644 --- a/ses_layout.c +++ b/ses_layout.c @@ -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); diff --git a/ses_step_simplify.c b/ses_step_simplify.c index 004e9ae..f65440e 100644 --- a/ses_step_simplify.c +++ b/ses_step_simplify.c @@ -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); -- 2.25.1