author | Francesco Abbate <francesco.bbt@gmail.com> | 2010年06月29日 15:40:34 +0200 |
---|---|---|
committer | Francesco Abbate <francesco.bbt@gmail.com> | 2010年06月29日 15:48:03 +0200 |
commit | e0f29ca732d23d0dbfec5399d4740ed67c1232a9 (patch) | |
tree | 67ede89790ab8712c9cd3ae048b140c1e33a0113 /agg-plot/c-drawables.h | |
parent | 1beceb467757384bd5695f5e7ed9acfba590bd4a (diff) | |
download | gsl-shell-e0f29ca732d23d0dbfec5399d4740ed67c1232a9.tar.gz |
-rw-r--r-- | agg-plot/c-drawables.h | 55 |
diff --git a/agg-plot/c-drawables.h b/agg-plot/c-drawables.h deleted file mode 100644 index 3855f90b..00000000 --- a/agg-plot/c-drawables.h +++ /dev/null @@ -1,55 +0,0 @@ -#ifndef CPLOT_CINTFC_H -#define CPLOT_CINTFC_H - -#include "defs.h" -#include "colors.h" - -#define CPLOT struct my_c_plot -#define CVERTSRC struct my_c_vs -#define CPATH struct my_c_path -#define CTEXT struct my_c_text - -#ifdef __cplusplus -typedef plot<vertex_source, ref_manager> plot_type; -#endif - -__BEGIN_DECLS - -struct cmd_call_stack; -struct trans_spec; - -CPLOT; -CVERTSRC; -CPATH; - -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, - int outline); -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); - -extern CPATH * path_new (); -extern void path_cmd (CPATH *p, int cmd, struct cmd_call_stack *stack); - -extern CTEXT * text_new (double size, double width); -extern void text_set_text (CTEXT *t, const char *text); -extern void text_set_point (CTEXT *t, double x, double y); -extern void text_rotate (CTEXT *t, double angle); - -__END_DECLS - -#ifndef __cplusplus -typedef CPLOT plot; -typedef CVERTSRC vertex_source; -typedef CPATH path; -#endif - -#endif |