Code

now that selection description includes style (filtered, clipped), we need to update...
[inkscape.git] / src / sp-lpe-item.h
index 3aba7b8a7a4aa16de87c5ae5a16e8c7e709bb819..e9561c2c2c26f6f89a9ba5436c0b213d8a15d924 100644 (file)
@@ -40,6 +40,7 @@ struct SPLPEItem : public SPItem {
 
     PathEffectList* path_effect_list;
     Inkscape::LivePathEffect::LPEObjectReference* current_path_effect;
+    std::vector<Inkscape::Display::TemporaryItem*> lpe_helperpaths;
 
     sigc::connection lpe_modified_connection;
 };
@@ -53,7 +54,7 @@ struct SPLPEItemClass {
 GType sp_lpe_item_get_type();
 
 void sp_lpe_item_update_patheffect (SPLPEItem *lpeitem, bool wholetree, bool write);
-void sp_lpe_item_perform_path_effect(SPLPEItem *lpeitem, SPCurve *curve);
+bool sp_lpe_item_perform_path_effect(SPLPEItem *lpeitem, SPCurve *curve);
 void sp_lpe_item_add_path_effect(SPLPEItem *lpeitem, gchar *value, bool reset);
 void sp_lpe_item_add_path_effect(SPLPEItem *lpeitem, LivePathEffectObject * new_lpeobj);
 void sp_lpe_item_replace_path_effect(SPLPEItem *lpeitem, LivePathEffectObject * old_lpeobj,
@@ -64,6 +65,8 @@ void sp_lpe_item_down_current_path_effect(SPLPEItem *lpeitem);
 void sp_lpe_item_up_current_path_effect(SPLPEItem *lpeitem);
 bool sp_lpe_item_has_path_effect(SPLPEItem *lpeitem);
 bool sp_lpe_item_has_path_effect_recursive(SPLPEItem *lpeitem);
+Inkscape::LivePathEffect::Effect* sp_lpe_item_has_path_effect_of_type(SPLPEItem *lpeitem, int type);
+bool sp_lpe_item_can_accept_freehand_shape(SPLPEItem *lpeitem);
 void sp_lpe_item_edit_next_param_oncanvas(SPLPEItem *lpeitem, SPDesktop *dt);
 PathEffectList sp_lpe_item_get_effect_list(SPLPEItem *lpeitem);
 Inkscape::LivePathEffect::LPEObjectReference* sp_lpe_item_get_current_lpereference(SPLPEItem *lpeitem);