aboutsummaryrefslogtreecommitdiffstats
path: root/libgnomecanvas/gnome-canvas-shape.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-10-15 07:25:40 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-30 01:50:00 +0800
commit24e39b9fb54cad437cc12b24e953be890519d86a (patch)
tree554da00fae5be782689f20ada6b3259c633663d5 /libgnomecanvas/gnome-canvas-shape.h
parent9c183ab12ae27089ce972e29aab7000c2edfd466 (diff)
downloadgsoc2013-evolution-24e39b9fb54cad437cc12b24e953be890519d86a.tar
gsoc2013-evolution-24e39b9fb54cad437cc12b24e953be890519d86a.tar.gz
gsoc2013-evolution-24e39b9fb54cad437cc12b24e953be890519d86a.tar.bz2
gsoc2013-evolution-24e39b9fb54cad437cc12b24e953be890519d86a.tar.lz
gsoc2013-evolution-24e39b9fb54cad437cc12b24e953be890519d86a.tar.xz
gsoc2013-evolution-24e39b9fb54cad437cc12b24e953be890519d86a.tar.zst
gsoc2013-evolution-24e39b9fb54cad437cc12b24e953be890519d86a.zip
gnome-canvas: Rewrite GnomeCanvasShape to use Cairo
Dashing properties were commented out in the process. They are not used inside Evolution.
Diffstat (limited to 'libgnomecanvas/gnome-canvas-shape.h')
-rw-r--r--libgnomecanvas/gnome-canvas-shape.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libgnomecanvas/gnome-canvas-shape.h b/libgnomecanvas/gnome-canvas-shape.h
index 2f8d687b78..dcd1c01305 100644
--- a/libgnomecanvas/gnome-canvas-shape.h
+++ b/libgnomecanvas/gnome-canvas-shape.h
@@ -35,10 +35,10 @@ G_BEGIN_DECLS
* not be scaled when the canvas zoom factor is changed.
* width_units gdouble RW Width of the outline in canvas units. The outline
* will be scaled when the canvas zoom factor is changed.
- * cap_style GdkCapStyle RW Cap ("endpoint") style for the bpath.
- * join_style GdkJoinStyle RW Join ("vertex") style for the bpath.
- * wind ArtWindRule RW Winding rule for the bpath.
- * dash ArtVpathDash RW Dashing pattern
+ * cap_style cairo_line_cap_t RW Cap ("endpoint") style for the bpath.
+ * join_style cairo_line_join_t RW Join ("vertex") style for the bpath.
+ * wind cairo_fill_rule_t RW Winding rule for the bpath.
+ * dash XXX: disabled RW Dashing pattern
* miterlimit gdouble RW Minimum angle between segments, where miter join
* rule is applied.
*/
@@ -65,8 +65,8 @@ struct _GnomeCanvasShapeClass {
/* WARNING! These are not usable from modifying shapes from user programs */
/* These are meant, to set master shape from subclass ::update method */
-void gnome_canvas_shape_set_path_def (GnomeCanvasShape *shape, GnomeCanvasPathDef *def);
-GnomeCanvasPathDef *gnome_canvas_shape_get_path_def (GnomeCanvasShape *shape);
+void gnome_canvas_shape_set_path (GnomeCanvasShape *shape, cairo_path_t *path);
+const cairo_path_t *gnome_canvas_shape_get_path (GnomeCanvasShape *shape);
/* Standard Gtk function */
GType gnome_canvas_shape_get_type (void) G_GNUC_CONST;