1 /** @file
2 * @brief LPE effect that draws a circle based on two points and a radius
3 */
4 /* Authors:
5 * Johan Engelen <j.b.c.engelen@utwente.nl>
6 *
7 * Copyright (C) 2007 Authors
8 *
9 * Released under GNU GPL, read the file 'COPYING' for more information
10 */
12 #ifndef INKSCAPE_LPE_CIRCLE_WITH_RADIUS_H
13 #define INKSCAPE_LPE_CIRCLE_WITH_RADIUS_H
15 #include "live_effects/effect.h"
16 #include "live_effects/parameter/parameter.h"
17 #include "live_effects/parameter/path.h"
18 #include "live_effects/parameter/point.h"
20 namespace Inkscape {
21 namespace LivePathEffect {
23 class LPECircleWithRadius : public Effect {
24 public:
25 LPECircleWithRadius(LivePathEffectObject *lpeobject);
26 virtual ~LPECircleWithRadius();
28 // Choose to implement one of the doEffect functions. You can delete or comment out the others.
29 virtual std::vector<Geom::Path> doEffect_path (std::vector<Geom::Path> const & path_in);
31 private:
32 // add the parameters for your effect here:
33 //ScalarParam radius;
34 // there are all kinds of parameters. Check the /live_effects/parameter directory which types exist!
36 LPECircleWithRadius(const LPECircleWithRadius&);
37 LPECircleWithRadius& operator=(const LPECircleWithRadius&);
38 };
40 } //namespace LivePathEffect
41 } //namespace Inkscape
43 #endif
45 /*
46 Local Variables:
47 mode:c++
48 c-file-style:"stroustrup"
49 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
50 indent-tabs-mode:nil
51 fill-column:99
52 End:
53 */
54 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :