summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/plotters.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/plotters.h b/desktop/plotters.h
index e543aa4ca..6001cb794 100644
--- a/desktop/plotters.h
+++ b/desktop/plotters.h
@@ -42,10 +42,19 @@ struct plotter_table {
bool (*group_start)(const char *name); /** optional */
bool (*group_end)(void); /** optional */
bool (*flush)(void);
+ bool (*path)(float *p, unsigned int n, colour fill, float width,
+ colour c, float *transform);
};
/** Current plotters, must be assigned before use. */
extern struct plotter_table plot;
+enum path_command {
+ PLOTTER_PATH_MOVE,
+ PLOTTER_PATH_CLOSE,
+ PLOTTER_PATH_LINE,
+ PLOTTER_PATH_BEZIER,
+};
+
#endif