Code

Scale parameter for lpe-ruler
[inkscape.git] / src / live_effects / lpe-ruler.h
1 #ifndef INKSCAPE_LPE_RULER_H
2 #define INKSCAPE_LPE_RULER_H
4 /** \file
5  * LPE <ruler> implementation, see lpe-ruler.cpp.
6  */
8 /*
9  * Authors:
10  *   Maximilian Albert
11  *   Johan Engelen
12  *
13  * Copyright (C) Maximilian 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"
21 namespace Inkscape {
22 namespace LivePathEffect {
24 class LPERuler : public Effect {
25 public:
26     LPERuler(LivePathEffectObject *lpeobject);
27     virtual ~LPERuler();
29     virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in);
31 private:
32     ScalarParam mark_distance;
33     ScalarParam mark_length;
34     ScalarParam scale;
35     LPERuler(const LPERuler&);
36     LPERuler& operator=(const LPERuler&);
37 };
39 } //namespace LivePathEffect
40 } //namespace Inkscape
42 #endif
44 /*
45   Local Variables:
46   mode:c++
47   c-file-style:"stroustrup"
48   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
49   indent-tabs-mode:nil
50   fill-column:99
51   End:
52 */
53 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :