From: yu.dongliang <18588496441@163.com> Date: Mon, 17 Jul 2023 14:46:15 +0000 (+0800) Subject: Transistor X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=8b693d93d17d2b0ea99f4e5ae24ac22416e6cb07;p=ses.git Transistor --- diff --git a/ses_layout.c b/ses_layout.c index f1f057d..9bfb398 100644 --- a/ses_layout.c +++ b/ses_layout.c @@ -914,6 +914,8 @@ int ses_layout_draw(ScfEboard* b, uint32_t bx, uint32_t by, uint32_t bw, uint32_ vertical(&dx0, &dy0, c->x - pb->x, c->y - pb->y, 8); forward (&dx3, &dy3, c->x - pb->x, c->y - pb->y, 8); + cairo_arc(cr, c->x - dx3 / 2, c->y - dy3 / 2, 12, 0, 2 * M_PI); + cairo_move_to (cr, pb->x, pb->y); cairo_line_to (cr, c->x - dx3, c->y - dy3); cairo_rel_move_to(cr, dx0, dy0);