Transistor
authoryu.dongliang <18588496441@163.com>
Mon, 17 Jul 2023 14:46:15 +0000 (22:46 +0800)
committeryu.dongliang <18588496441@163.com>
Mon, 17 Jul 2023 14:46:26 +0000 (22:46 +0800)
ses_layout.c

index f1f057dff2259658afb4a227aca7fd798ef92f2b..9bfb39837142d592370769cbbfd4330f313f8e03 100644 (file)
@@ -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);