From 8584d206bcc9b601eb2e6183fd6c8107a14f5717 Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Thu, 13 Jul 2023 18:14:53 +0800 Subject: [PATCH] ses layout --- ses_layout.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ses_layout.c b/ses_layout.c index 2e55307..64747c1 100644 --- a/ses_layout.c +++ b/ses_layout.c @@ -593,8 +593,8 @@ int ses_layout_draw(ScfEboard* b, uint32_t bx, uint32_t by, uint32_t bw, uint32_ snprintf(text, sizeof(text) - 1, "%ld", el->id); cairo_select_font_face(cr, "Georgia", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD); - cairo_set_font_size (cr, 20); - cairo_move_to (cr, l->x0 - 10, l->y0 + 5); + cairo_set_font_size (cr, 24); + cairo_move_to (cr, l->x0 - 20, l->y0 + 5); cairo_show_text (cr, text); cairo_stroke(cr); @@ -771,7 +771,7 @@ int ses_layout_draw(ScfEboard* b, uint32_t bx, uint32_t by, uint32_t bw, uint32_ } } - cairo_surface_write_to_png(surface, "./1.png"); + cairo_surface_write_to_png(surface, "./2.png"); cairo_destroy(cr); cairo_surface_destroy(surface); -- 2.25.1