Code

fix combo enum, to handle enums of all types (not only the ones that range from 0...
[inkscape.git] / src / sp-lpe-item.h
index 3aba7b8a7a4aa16de87c5ae5a16e8c7e709bb819..c92616ccade3716657592892282e8c8f5f2df443 100644 (file)
@@ -40,6 +40,10 @@ struct SPLPEItem : public SPItem {
 
     PathEffectList* path_effect_list;
     Inkscape::LivePathEffect::LPEObjectReference* current_path_effect;
+    std::vector<Inkscape::Display::TemporaryItem*> lpe_helperpaths;
+
+    bool adding_helperpaths;
+    bool removing_helperpaths;
 
     sigc::connection lpe_modified_connection;
 };
@@ -64,12 +68,16 @@ 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);
 Inkscape::LivePathEffect::Effect* sp_lpe_item_get_current_lpe(SPLPEItem *lpeitem);
 bool sp_lpe_item_set_current_path_effect(SPLPEItem *lpeitem, Inkscape::LivePathEffect::LPEObjectReference* lperef);
 bool sp_lpe_item_path_effects_enabled(SPLPEItem *lpeitem);
+void sp_lpe_item_add_temporary_canvasitems(SPLPEItem *lpeitem, SPDesktop *desktop);
+void sp_lpe_item_remove_temporary_canvasitems(SPLPEItem *lpeitem, SPDesktop *desktop);
 
 #endif /* !SP_LPE_ITEM_H_SEEN */