X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fsp-shape.h;h=ce5407ad6926a342dbe8ee5cfd1e9c758cf5bdab;hb=d405eeb21d54618e50b98f0483d2663faa13c7d6;hp=23dd8cd3892e7d7814235df51c03476282121739;hpb=753414a12a44542ec50e0e9638b6ef2f5b74449f;p=inkscape.git diff --git a/src/sp-shape.h b/src/sp-shape.h index 23dd8cd38..ce5407ad6 100644 --- a/src/sp-shape.h +++ b/src/sp-shape.h @@ -9,6 +9,7 @@ * * Copyright (C) 1999-2002 Lauris Kaplinski * Copyright (C) 2000-2001 Ximian, Inc. + * Copyright (C) 2008 Johan Engelen * * Released under GNU GPL, read the file 'COPYING' for more information */ @@ -27,10 +28,12 @@ #define SP_SHAPE_WRITE_PATH (1 << 2) +struct SPDesktop; struct LivePathEffectObject; namespace Inkscape{ namespace LivePathEffect{ class LPEObjectReference; + class Effect; }; }; @@ -44,7 +47,7 @@ struct SPShape : public SPItem { gchar *path_effect_href; Inkscape::LivePathEffect::LPEObjectReference *path_effect_ref; - sigc::connection lpe_modified_connection; + sigc::connection lpe_modified_connection; }; struct SPShapeClass { @@ -77,10 +80,15 @@ NR::Matrix sp_shape_marker_get_transform(SPShape const *shape, NArtBpath const * bool sp_shape_marker_required(SPShape const *shape, int const m, NArtBpath *bp); LivePathEffectObject * sp_shape_get_livepatheffectobject(SPShape *shape); +Inkscape::LivePathEffect::Effect * sp_shape_get_livepatheffect(SPShape *shape); void sp_shape_update_patheffect (SPShape *shape, bool write); void sp_shape_perform_path_effect(SPCurve *curve, SPShape *shape); void sp_shape_set_path_effect(SPShape *shape, gchar *value); +void sp_shape_set_path_effect(SPShape *shape, LivePathEffectObject * new_lpeobj); void sp_shape_remove_path_effect(SPShape *shape); +bool sp_shape_has_path_effect(SPShape *shape); + +void sp_shape_edit_next_param_oncanvas(SPShape *shape, SPDesktop *dt); #endif