summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-circle_with_radius.h
blob: dc9a8b9b6ace3f51b7bdb79eef6708bc61adb712 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// SPDX-License-Identifier: GPL-2.0-or-later
/** @file
 * @brief LPE effect that draws a circle based on two points and a radius
 */
/* Authors:
 *   Johan Engelen <j.b.c.engelen@utwente.nl>
 *
 * Copyright (C) 2007 Authors
 *
 * Released under GNU GPL v2+, read the file 'COPYING' for more information.
 */

#ifndef INKSCAPE_LPE_CIRCLE_WITH_RADIUS_H
#define INKSCAPE_LPE_CIRCLE_WITH_RADIUS_H

#include "live_effects/effect.h"
#include "live_effects/parameter/parameter.h"
#include "live_effects/parameter/path.h"
#include "live_effects/parameter/point.h"

namespace Inkscape {
namespace LivePathEffect {

class LPECircleWithRadius : public Effect {
public:
    LPECircleWithRadius(LivePathEffectObject *lpeobject);
    ~LPECircleWithRadius() override;

//  Choose to implement one of the doEffect functions. You can delete or comment out the others.
    Geom::PathVector doEffect_path (Geom::PathVector const & path_in) override;

private:
    // add the parameters for your effect here:
    //ScalarParam radius;
    // there are all kinds of parameters. Check the /live_effects/parameter directory which types exist!

    LPECircleWithRadius(const LPECircleWithRadius&) = delete;
    LPECircleWithRadius& operator=(const LPECircleWithRadius&) = delete;
};

} //namespace LivePathEffect
} //namespace Inkscape

#endif

/*
  Local Variables:
  mode:c++
  c-file-style:"stroustrup"
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
  indent-tabs-mode:nil
  fill-column:99
  End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :