Code

Translations. POTFILES.in, inkcape.pot and fr.po updated.
[inkscape.git] / src / live_effects / lpe-mirror_symmetry.h
1 #ifndef INKSCAPE_LPE_MIRROR_SYMMETRY_H
2 #define INKSCAPE_LPE_MIRROR_SYMMETRY_H
4 /** \file
5  * LPE <mirror_symmetry> implementation: mirrors a path with respect to a given line.
6  */
7 /*
8  * Authors:
9  *   Maximilian Albert
10  *   Johan Engelen
11  *
12  * Copyright (C) Johan Engelen 2007 <j.b.c.engelen@utwente.nl>
13  * Copyright (C) Maximilin Albert 2008 <maximilian.albert@gmail.com>
14  *
15  * Released under GNU GPL, read the file 'COPYING' for more information
16  */
18 #include "live_effects/effect.h"
19 #include "live_effects/parameter/parameter.h"
20 #include "live_effects/parameter/point.h"
21 #include "live_effects/parameter/path.h"
23 namespace Inkscape {
24 namespace LivePathEffect {
26 class LPEMirrorSymmetry : public Effect {
27 public:
28     LPEMirrorSymmetry(LivePathEffectObject *lpeobject);
29     virtual ~LPEMirrorSymmetry();
31     virtual void doOnApply (SPLPEItem *lpeitem);
33     virtual std::vector<Geom::Path> doEffect_path (std::vector<Geom::Path> const & path_in);
35 private:
36     BoolParam discard_orig_path;
37     PathParam reflection_line;
39     LPEMirrorSymmetry(const LPEMirrorSymmetry&);
40     LPEMirrorSymmetry& operator=(const LPEMirrorSymmetry&);
41 };
43 } //namespace LivePathEffect
44 } //namespace Inkscape
46 #endif