char *filename; /* font or image filename */
char *text;
double x,y; /* position */
+ double angle;
enum gfx_h_align_en halign; /* text alignement */
enum gfx_v_align_en valign; /* text alignement */
double tabwidth;
double x2, double y2,
gfx_color_t color);
-/* create an arc section (2*M_PI is full circle) */
-gfx_node_t *gfx_arc_sect (gfx_canvas_t *canvas,
- double centerx, double centery,
- double radiusx, double radiusy,
- double start, double end,
- gfx_color_t color);
-
/* add a point to a line or to an area */
int gfx_add_point (gfx_node_t *node, double x, double y);
#endif
+/* turn graph into an svg image */
+int gfx_render_svg (gfx_canvas_t *canvas,
+ art_u32 width, art_u32 height,
+ double zoom,
+ gfx_color_t background, FILE *fo);