X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fsp-shape.h;h=32774f60315abab3321bfbca0cfc41087037628e;hb=eb064b0a45987edcaa468ed8e300efe8d0677a77;hp=5479284365f3d03131b2e3ad1ed84d249f62d573;hpb=6b15695578f07a3f72c4c9475c1a261a3021472a;p=inkscape.git diff --git a/src/sp-shape.h b/src/sp-shape.h index 547928436..32774f603 100644 --- a/src/sp-shape.h +++ b/src/sp-shape.h @@ -49,14 +49,17 @@ void sp_shape_set_shape (SPShape *shape); /* Return duplicate of curve or NULL */ SPCurve *sp_shape_get_curve (SPShape *shape); +// sets a curve, updates display void sp_shape_set_curve (SPShape *shape, SPCurve *curve, unsigned int owner); -/* NOT FOR GENERAL PUBLIC UNTIL SORTED OUT (Lauris) */ +// same as sp_shape_set_curve, but without updating display void sp_shape_set_curve_insync (SPShape *shape, SPCurve *curve, unsigned int owner); -/* PROTECTED */ +// markers API void sp_shape_set_marker (SPObject *object, unsigned int key, const gchar *value); - - +int sp_shape_has_markers (SPShape const *shape); +int sp_shape_number_of_markers (SPShape* Shape, int type); +NR::Matrix sp_shape_marker_get_transform(SPShape const *shape, NArtBpath const *bp); +bool sp_shape_marker_required(SPShape const *shape, int const m, NArtBpath *bp); #endif