From 5f5f70273c13da03fd98cc908e5122d17d727520 Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Mon, 30 Oct 2023 11:47:25 +0800 Subject: [PATCH] tmp --- ses_layout.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ses_layout.c b/ses_layout.c index 354a890..8307370 100644 --- a/ses_layout.c +++ b/ses_layout.c @@ -1204,14 +1204,12 @@ int ses_layout_draw(ScfEboard* b, uint32_t bx, uint32_t by, uint32_t bw, uint32_ cairo_move_to(cr, c->x - dx3 + dx4 + dx1, c->y - dy3 + dy4 + dy1); cairo_line_to(cr, c->x + dx3 + dx0, c->y + dy3 + dy0); cairo_line_to(cr, c->x - dx3 + dx4 - dx1, c->y - dy3 + dy4 - dy1); - - cairo_move_to(cr, c->x - dx3, c->y - dy3); - cairo_line_to(cr, c->x + dx3 - dx0, c->y + dy3 - dy0); cairo_stroke(cr); cairo_set_source_rgb(cr, 0.0, 0.6, 0.0); cairo_set_line_width(cr, 2.5); - cairo_move_to(cr, c->x + dx3 - dx0, c->y + dy3 - dy0); + cairo_move_to(cr, c->x - dx3, c->y - dy3); + cairo_line_to(cr, c->x + dx3 - dx0, c->y + dy3 - dy0); cairo_line_to(cr, pc->x, pc->y); cairo_stroke(cr); break; -- 2.25.1