-rw-r--r-- | agg-plot/c-drawables.h | 5 |
diff --git a/agg-plot/c-drawables.h b/agg-plot/c-drawables.h index 28310246..624a816d 100644 --- a/agg-plot/c-drawables.h +++ b/agg-plot/c-drawables.h @@ -10,7 +10,10 @@ #define CTEXT struct my_c_text #ifdef __cplusplus +#include "units-plot.h" + typedef plot<vertex_source, ref_manager> plot_type; +typedef units_plot<vertex_source, ref_manager> units_plot_type; #endif __BEGIN_DECLS @@ -27,6 +30,8 @@ extern void plot_free (CPLOT *p); extern void plot_add (CPLOT *p, CVERTSRC *src, struct color *color, struct trans_spec *post, struct trans_spec *pre, int outline); +extern void plot_set_title (CPLOT *p, const char *title); +extern const char * plot_get_title (CPLOT *p); extern void vertex_source_ref (CVERTSRC *p); extern void vertex_source_unref (CVERTSRC *p); |