From 8b693d93d17d2b0ea99f4e5ae24ac22416e6cb07 Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Mon, 17 Jul 2023 22:46:15 +0800 Subject: [PATCH] Transistor --- ses_layout.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.25.1