gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/c-drawables.h
diff options
context:
space:
mode:
Diffstat (limited to 'agg-plot/c-drawables.h')
-rw-r--r--agg-plot/c-drawables.h 8
1 files changed, 4 insertions, 4 deletions
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);
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月29日 04:58:55 +0000

AltStyle によって変換されたページ (->オリジナル) /