1 #ifndef DIA_SVG_RENDERER_H
2 #define DIA_SVG_RENDERER_H
5 #include "diarenderer.h"
9 #define DIA_TYPE_SVG_RENDERER (dia_svg_renderer_get_type ())
10 #define DIA_SVG_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DIA_TYPE_SVG_RENDERER, DiaSvgRenderer))
11 #define DIA_SVG_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), DIA_TYPE_SVG_RENDERER, DiaSvgRendererClass))
12 #define DIA_IS_SVG_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DIA_TYPE_SVG_RENDERER))
13 #define DIA_SVG_RENDERER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), DIA_TYPE_SVG_RENDERER, DiaSvgRendererClass))
15 GType
dia_svg_renderer_get_type (void) G_GNUC_CONST
;
17 struct _DiaSvgRenderer
19 DiaRenderer parent_instance
;
26 xmlNsPtr svg_name_space
;
28 LineStyle saved_line_style
;
35 char *linestyle
; /* not const -- must free */
41 struct _DiaSvgRendererClass
43 DiaRendererClass parent_class
;
45 const gchar
* (*get_draw_style
) (DiaSvgRenderer
*, Color
*);
46 const gchar
* (*get_fill_style
) (DiaSvgRenderer
*, Color
*);
51 #endif /* DIA_SVG_RENDERER_H */