1 // SPDX-License-Identifier: GPL-2.0-or-later
2 #ifndef INKSCAPE_LPE_FILL_BETWEEN_MANY_H
3 #define INKSCAPE_LPE_FILL_BETWEEN_MANY_H
4 
5 /*
6  * Inkscape::LPEFillBetweenStrokes
7  *
8  * Copyright (C) Theodore Janeczko 2012 <flutterguy317@gmail.com>
9  *
10  * Released under GNU GPL v2+, read the file 'COPYING' for more information.
11  */
12 
13 #include "live_effects/effect.h"
14 #include "live_effects/parameter/enum.h"
15 #include "live_effects/parameter/originalpatharray.h"
16 #include "live_effects/parameter/hidden.h"
17 
18 namespace Inkscape {
19 namespace LivePathEffect {
20 
21 enum Filllpemethod {
22     FLM_ORIGINALD,
23     FLM_BSPLINESPIRO,
24     FLM_D,
25     FLM_END
26 };
27 
28 class LPEFillBetweenMany : public Effect {
29 public:
30     LPEFillBetweenMany(LivePathEffectObject *lpeobject);
31     ~LPEFillBetweenMany() override;
32     void doEffect (SPCurve * curve) override;
33 private:
34     OriginalPathArrayParam linked_paths;
35     EnumParam<Filllpemethod> method;
36     BoolParam join;
37     BoolParam close;
38     BoolParam autoreverse;
39     HiddenParam applied;
40     Filllpemethod previous_method;
41     LPEFillBetweenMany(const LPEFillBetweenMany&) = delete;
42     LPEFillBetweenMany& operator=(const LPEFillBetweenMany&) = delete;
43 };
44 
45 }; //namespace LivePathEffect
46 }; //namespace Inkscape
47 
48 #endif
49