From: yu.dongliang <18588496441@163.com> Date: Mon, 30 Oct 2023 03:47:25 +0000 (+0800) Subject: tmp X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=5f5f70273c13da03fd98cc908e5122d17d727520;p=ses.git tmp --- 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;