-double gfx_get_text_width ( gfx_canvas_t *canvas,
- double start, char* font, double size,
- double tabwidth, char* text);
-
-
-
-/* turn graph into a png image */
-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 tabwidth, char* text);
-
-int gfx_render (gfx_canvas_t *canvas,
- art_u32 width, art_u32 height,
- gfx_color_t background, FILE *fo);
-
+double gfx_get_text_width(
+ gfx_canvas_t *canvas,
+ double start,
+ char *font,
+ double size,
+ double tabwidth,
+ char *text,
+ int rotation);
+
+/* save image to file */
+int gfx_render(
+ gfx_canvas_t *canvas,
+ art_u32 width,
+ art_u32 height,
+ gfx_color_t background,
+ FILE * fo);
+