diff options
| author | bulia byak <buliabyak@gmail.com> | 2006-05-26 04:46:58 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2006-05-26 04:46:58 +0000 |
| commit | c07932d0152ddb5b592f4ba164ee6efe03f821a3 (patch) | |
| tree | 01ed754957dce05cf6c0ef3fa60bb14b1ab066a1 /src/sp-shape.h | |
| parent | * src/path-prefix.h: Add missing CREATE_* directory locations (diff) | |
| download | inkscape-c07932d0152ddb5b592f4ba164ee6efe03f821a3.tar.gz inkscape-c07932d0152ddb5b592f4ba164ee6efe03f821a3.zip | |
export markers API
(bzr r1012)
Diffstat (limited to 'src/sp-shape.h')
| -rw-r--r-- | src/sp-shape.h | 11 |
1 files changed, 7 insertions, 4 deletions
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 |
