Code

Translations. POTFILES.in, inkcape.pot and fr.po updated.
[inkscape.git] / src / live_effects / lpe-angle_bisector.h
1 #ifndef INKSCAPE_LPE_ANGLE_BISECTOR_H
2 #define INKSCAPE_LPE_ANGLE_BISECTOR_H
4 /** \file
5  * LPE <angle_bisector> implementation, see lpe-angle_bisector.cpp.
6  */
8 /*
9  * Authors:
10  *   Johan Engelen
11  *
12  * Copyright (C) Johan Engelen 2007 <j.b.c.engelen@utwente.nl>
13  *
14  * Released under GNU GPL, read the file 'COPYING' for more information
15  */
17 #include "live_effects/effect.h"
18 #include "live_effects/parameter/parameter.h"
19 #include "live_effects/parameter/point.h"
21 namespace Inkscape {
22 namespace LivePathEffect {
24 namespace AB {
25   // we use a separate namespace to avoid clashes with other LPEs
26   class KnotHolderEntityLeftEnd;
27   class KnotHolderEntityRightEnd;
28 }
30 class LPEAngleBisector : public Effect {
31 public:
32     LPEAngleBisector(LivePathEffectObject *lpeobject);
33     virtual ~LPEAngleBisector();
35     virtual std::vector<Geom::Path> doEffect_path (std::vector<Geom::Path> const & path_in);
37     friend class AB::KnotHolderEntityLeftEnd;
38     friend class AB::KnotHolderEntityRightEnd;
40 //private:
41     ScalarParam length_left;
42     ScalarParam length_right;
44     Geom::Point ptA;
45     Geom::Point dir;
47     LPEAngleBisector(const LPEAngleBisector&);
48     LPEAngleBisector& operator=(const LPEAngleBisector&);
49 };
51 } //namespace LivePathEffect
52 } //namespace Inkscape
54 #endif
56 /*
57   Local Variables:
58   mode:c++
59   c-file-style:"stroustrup"
60   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
61   indent-tabs-mode:nil
62   fill-column:99
63   End:
64 */
65 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :