diff options
| author | Jabiertxof <jtx@jtx> | 2017-01-05 19:03:50 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx> | 2017-01-05 19:03:50 +0000 |
| commit | 7bedd224ace433cf4c1a829ba38f6a3c388227e6 (patch) | |
| tree | c859469be41c0b1248bd2b3a18560697c120596b /src/live_effects/effect.h | |
| parent | * [INTL:sk] Slovak translation update (diff) | |
| download | inkscape-7bedd224ace433cf4c1a829ba38f6a3c388227e6.tar.gz inkscape-7bedd224ace433cf4c1a829ba38f6a3c388227e6.zip | |
Adding base
(bzr r15392.1.1)
Diffstat (limited to 'src/live_effects/effect.h')
| -rw-r--r-- | src/live_effects/effect.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/live_effects/effect.h b/src/live_effects/effect.h index 1997ff0ca..9a2d4c67d 100644 --- a/src/live_effects/effect.h +++ b/src/live_effects/effect.h @@ -19,7 +19,7 @@ class SPDocument; class SPDesktop; class SPItem; -class LivePathEffectObject; +class LivePathEffectObject; class SPLPEItem; class KnotHolder; class KnotHolderEntity; @@ -44,6 +44,12 @@ enum LPEPathFlashType { DEFAULT }; +enum LpeAction { + LPE_ERASE = 0, + LPE_TO_OBJECTS, + LPE_VISIBILITY +}; + class Effect { public: static Effect* New(EffectType lpenr, LivePathEffectObject *lpeobj); @@ -125,7 +131,9 @@ public: bool apply_to_clippath_and_mask; bool erase_extra_objects; // set this to false allow retain extra generated objects, see measure line LPE bool upd_params; - + BoolParam is_visible; + SPCurve * sp_curve; + Geom::PathVector pathvector_before_effect; protected: Effect(LivePathEffectObject *lpeobject); @@ -150,7 +158,6 @@ protected: bool _provides_knotholder_entities; int oncanvasedit_it; - BoolParam is_visible; bool show_orig_path; // set this to true in derived effects to automatically have the original // path displayed as helperpath @@ -166,8 +173,6 @@ protected: SPLPEItem * sp_lpe_item; // these get stored in doBeforeEffect_impl, and derived classes may do as they please with them. double current_zoom; std::vector<Geom::Point> selectedNodesPoints; - SPCurve * sp_curve; - Geom::PathVector pathvector_before_effect; private: bool provides_own_flash_paths; // if true, the standard flash path is suppressed |
