diff options
| author | Jesper Jensen <jesper@jnsn.dev> | 2025-11-23 12:28:02 +0100 |
|---|---|---|
| committer | Jesper Jensen <jesper@jnsn.dev> | 2025-11-23 12:28:02 +0100 |
| commit | e63c2a09a54c28dbcaaee48de2008fd5c3a7bf81 (patch) | |
| tree | fdfb26e79756e68676017f238adadce7f214c5dd /inc | |
| parent | acfa01613f6e7fbeace88a15df61252156d39cf1 (diff) | |
Do some inline distance indicators
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/cad/svg.h | 3 |
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(); |
