X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_gfx.h;h=8dfc6d3dc8517c3b44ad148a5165bb9da4bb665f;hp=29121328cbf89c1b31f6d9f592bd3cf356e5b7da;hb=f9e5bd6a9d41c4607291cbbd88280129184ab325;hpb=6c5e7f32e3052259aa5e14053cb4bab04346ea94 diff --git a/src/rrd_gfx.h b/src/rrd_gfx.h index 2912132..8dfc6d3 100644 --- a/src/rrd_gfx.h +++ b/src/rrd_gfx.h @@ -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 */