X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_gfx.h;h=0f65a3c2b4120b9b875f2a76e685d31aef25a53e;hp=a44368c5ace1b6df34213312c7d1978c40f4ff5f;hb=990fcfb7eec407edfe504f42760bae204e1c074d;hpb=b02eace34f83a08c55830cb05bc55078153e2ba6 diff --git a/src/rrd_gfx.h b/src/rrd_gfx.h index a44368c..0f65a3c 100644 --- a/src/rrd_gfx.h +++ b/src/rrd_gfx.h @@ -1,5 +1,5 @@ /**************************************************************************** - * RRDtool 1.2rc4 Copyright by Tobi Oetiker, 1997-2005 + * RRDtool 1.2rc9 Copyright by Tobi Oetiker, 1997-2005 **************************************************************************** * rrd_gfx.h generic graphics adapter library ****************************************************************************/ @@ -9,6 +9,8 @@ #define LIBART_COMPILATION #include +#include +#include "art_rgba_svp.h" enum gfx_if_en {IF_PNG=0,IF_SVG,IF_EPS,IF_PDF}; enum gfx_en { GFX_LINE=0,GFX_AREA,GFX_TEXT }; @@ -21,13 +23,12 @@ typedef struct gfx_node_t { gfx_color_t color; /* color of element 0xRRGGBBAA alpha 0xff is solid*/ double size; /* font size, line width */ double dash_on, dash_off; /* dash line fragments lengths */ - ArtVpath *path; /* path */ int closed_path; int points; int points_max; - ArtSVP *svp; /* svp */ char *filename; /* font or image filename */ char *text; + ArtVpath *path; /* path */ double x,y; /* position */ double angle; /* text angle */ enum gfx_h_align_en halign; /* text alignement */