X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_gfx.h;fp=src%2Frrd_gfx.h;h=dacdd694c9206801ff9f8cd677f22241e1bee9c4;hb=657d850f957a2dd703e3aab2d7cde4b0f9711c15;hp=dcfe48f2d3366cd780877a8dcc93a822a6ab3c03;hpb=4b5d5057d267f01f60c04eeee1288e812a32cf31;p=rrdtool.git diff --git a/src/rrd_gfx.h b/src/rrd_gfx.h index dcfe48f..dacdd69 100644 --- a/src/rrd_gfx.h +++ b/src/rrd_gfx.h @@ -61,7 +61,7 @@ gfx_canvas_t *gfx_new_canvas( /* create a new line */ gfx_node_t *gfx_new_line( - gfx_canvas_t * canvas, + gfx_canvas_t *canvas, double X0, double Y0, double X1, @@ -70,7 +70,7 @@ gfx_node_t *gfx_new_line( gfx_color_t color); gfx_node_t *gfx_new_dashed_line( - gfx_canvas_t * canvas, + gfx_canvas_t *canvas, double X0, double Y0, double X1, @@ -82,7 +82,7 @@ gfx_node_t *gfx_new_dashed_line( /* create a new area */ gfx_node_t *gfx_new_area( - gfx_canvas_t * canvas, + gfx_canvas_t *canvas, double X0, double Y0, double X1, @@ -93,18 +93,18 @@ gfx_node_t *gfx_new_area( /* add a point to a line or to an area */ int gfx_add_point( - gfx_node_t * node, + gfx_node_t *node, double x, double y); /* close current path so it ends at the same point as it started */ void gfx_close_path( - gfx_node_t * node); + gfx_node_t *node); /* create a text node */ gfx_node_t *gfx_new_text( - gfx_canvas_t * canvas, + gfx_canvas_t *canvas, double x, double y, gfx_color_t color, @@ -118,7 +118,7 @@ gfx_node_t *gfx_new_text( /* measure width of a text string */ double gfx_get_text_width( - gfx_canvas_t * canvas, + gfx_canvas_t *canvas, double start, char *font, double size, @@ -128,7 +128,7 @@ double gfx_get_text_width( /* save image to file */ int gfx_render( - gfx_canvas_t * canvas, + gfx_canvas_t *canvas, art_u32 width, art_u32 height, gfx_color_t background, @@ -137,18 +137,18 @@ int gfx_render( /* free memory used by nodes this will also remove memory required for node chain and associated material */ int gfx_destroy( - gfx_canvas_t * canvas); + gfx_canvas_t *canvas); /* PNG support*/ int gfx_render_png( - gfx_canvas_t * canvas, + 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, + gfx_canvas_t *canvas, double start, char *font, double size, @@ -158,7 +158,7 @@ double gfx_get_text_width_libart( /* SVG support */ int gfx_render_svg( - gfx_canvas_t * canvas, + gfx_canvas_t *canvas, art_u32 width, art_u32 height, gfx_color_t background, @@ -166,7 +166,7 @@ int gfx_render_svg( /* EPS support */ int gfx_render_eps( - gfx_canvas_t * canvas, + gfx_canvas_t *canvas, art_u32 width, art_u32 height, gfx_color_t background, @@ -174,7 +174,7 @@ int gfx_render_eps( /* PDF support */ int gfx_render_pdf( - gfx_canvas_t * canvas, + gfx_canvas_t *canvas, art_u32 width, art_u32 height, gfx_color_t background,