From e63c2a09a54c28dbcaaee48de2008fd5c3a7bf81 Mon Sep 17 00:00:00 2001 From: Jesper Jensen Date: Sun, 23 Nov 2025 12:28:02 +0100 Subject: Do some inline distance indicators --- inc/cad/svg.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'inc') diff --git a/inc/cad/svg.h b/inc/cad/svg.h index 68634b8..7a7e799 100644 --- a/inc/cad/svg.h +++ b/inc/cad/svg.h @@ -7,6 +7,7 @@ enum LineStyle { LSTYLE_NORMAL, LSTYLE_CONSTRUCTION, LSTYLE_INDICATOR, + LSTYLE_INDICATOR_INLINE, }; #define TEXT_OFFSET 0.4 @@ -15,5 +16,7 @@ void plot_arc_between_style(struct point c, struct point p1, struct point p2, en void plot_arc_between(struct point c, struct point p1, struct point p2); void plot_text(struct point p, double angle, char* str); +void begin_drawing(); void draw_constraints(struct constraints *constraints); void draw_topology(struct topology *topo); +void end_drawing(); -- cgit v1.2.3