X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_gfx.h;h=0994900453f286984b652abadd01dca7d3b174c3;hb=20ac3f138668d4e0c64ef79849faf9adefec9cb7;hp=ad04f46aad82cec07e8034ee697f880e3cd86422;hpb=0240b19174dfda10b6a6dbea0b924e2bd2dbac69;p=rrdtool.git diff --git a/src/rrd_gfx.h b/src/rrd_gfx.h index ad04f46..0994900 100644 --- a/src/rrd_gfx.h +++ b/src/rrd_gfx.h @@ -7,6 +7,7 @@ #ifndef RRD_GFX_H #define RRD_GFX_H #define LIBART_COMPILATION + #include enum gfx_if_en {IF_PNG=0,IF_SVG,IF_EPS,IF_PDF}; @@ -101,8 +102,7 @@ int gfx_destroy (gfx_canvas_t *canvas); int gfx_render_png (gfx_canvas_t *canvas, art_u32 width, art_u32 height, gfx_color_t background, FILE *fo); -double gfx_get_text_width_libart ( gfx_canvas_t *canvas, - double start, char* font, double size, +double gfx_get_text_width_libart ( double start, char* font, double size, double tabwidth, char* text, int rotation); /* SVG support */