summaryrefslogtreecommitdiff
path: root/inc/cad
diff options
context:
space:
mode:
authorJesper Jensen <jesper@jnsn.dev>2025-11-23 12:28:02 +0100
committerJesper Jensen <jesper@jnsn.dev>2025-11-23 12:28:02 +0100
commite63c2a09a54c28dbcaaee48de2008fd5c3a7bf81 (patch)
treefdfb26e79756e68676017f238adadce7f214c5dd /inc/cad
parentacfa01613f6e7fbeace88a15df61252156d39cf1 (diff)
Do some inline distance indicators
Diffstat (limited to 'inc/cad')
-rw-r--r--inc/cad/svg.h3
1 files changed, 3 insertions, 0 deletions
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();