author | Francesco Abbate <francesco.bbt@gmail.com> | 2010年05月09日 23:00:00 +0000 |
---|---|---|
committer | Francesco Abbate <francesco.bbt@gmail.com> | 2010年05月09日 23:00:00 +0000 |
commit | 3f94da0fce219777cbe7e875fb38ec8788cef04b (patch) | |
tree | e2c9c9394820fb9ba1c768477b5f4124e4a109af /agg-plot/c-drawables.h | |
parent | 25a50420115835ff4e03bdc4e96a77f7fd56a878 (diff) | |
download | gsl-shell-3f94da0fce219777cbe7e875fb38ec8788cef04b.tar.gz |
-rw-r--r-- | agg-plot/c-drawables.h | 8 |
diff --git a/agg-plot/c-drawables.h b/agg-plot/c-drawables.h index 624a816d..3855f90b 100644 --- a/agg-plot/c-drawables.h +++ b/agg-plot/c-drawables.h @@ -10,10 +10,7 @@ #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 @@ -25,7 +22,7 @@ CPLOT; CVERTSRC; CPATH; -extern CPLOT * plot_new (int with_units); +extern CPLOT * plot_new (const char *title); 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, @@ -33,6 +30,9 @@ extern void plot_add (CPLOT *p, CVERTSRC *src, struct color *color, extern void plot_set_title (CPLOT *p, const char *title); extern const char * plot_get_title (CPLOT *p); +extern int plot_use_units (CPLOT *p); +extern void plot_set_units (CPLOT *p, int use_units); + extern void vertex_source_ref (CVERTSRC *p); extern void vertex_source_unref (CVERTSRC *p); |