From: yu.dongliang <18588496441@163.com> Date: Tue, 31 Oct 2023 11:46:00 +0000 (+0800) Subject: ses_layout_draw() X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=0db5fdb41deb8992fe41215177dcb53419d00307;p=ses.git ses_layout_draw() --- 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);