1 #ifndef DIA_LIBART_RENDERER_H
2 #define DIA_LIBART_RENDERER_H
6 #include "diarenderer.h"
7 #include "diatransform.h"
10 #include <libart_lgpl/art_vpath.h>
11 #include <libart_lgpl/art_vpath_dash.h>
12 #include <libart_lgpl/art_svp.h>
13 #include <libart_lgpl/art_svp_vpath_stroke.h>
18 #define DIA_TYPE_LIBART_RENDERER (dia_libart_renderer_get_type ())
19 #define DIA_LIBART_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DIA_TYPE_LIBART_RENDERER, DiaLibartRenderer))
20 #define DIA_LIBART_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), DIA_TYPE_LIBART_RENDERER, DiaLibartRendererClass))
21 #define DIA_IS_LIBART_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DIA_TYPE_LIBART_RENDERER))
22 #define DIA_LIBART_RENDERER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), DIA_TYPE_LIBART_RENDERER, DiaLibartRendererClass))
24 GType
dia_libart_renderer_get_type (void) G_GNUC_CONST
;
26 struct _DiaLibartRenderer
28 DiaRenderer parent_instance
;
31 DiaTransform
*transform
; /* Our link to the display settings */
33 int pixel_width
, pixel_height
;
36 IntRectangle clip_rect
;
38 /* line attributes: */
40 ArtPathStrokeCapType cap_style
;
41 ArtPathStrokeJoinType join_style
;
43 LineStyle saved_line_style
;
48 Color
*highlight_color
;
52 struct _DiaLibartRendererClass
54 DiaRendererClass parent_class
;
59 #endif /* DIA_LIBART_RENDERER_H */