diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-07-30 10:57:48 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-07-30 10:57:48 +0000 |
| commit | 03d492341f6ffc28d110ecc3a773acdbdcc1e125 (patch) | |
| tree | 32a6d94a52f10bfe54a1d76b02d5d591ea071d09 /src/live_effects/lpe-text_label.h | |
| parent | Move coordinate transform workaround to a more logical place (diff) | |
| download | inkscape-03d492341f6ffc28d110ecc3a773acdbdcc1e125.tar.gz inkscape-03d492341f6ffc28d110ecc3a773acdbdcc1e125.zip | |
New LPE: Text label
(bzr r6472)
Diffstat (limited to 'src/live_effects/lpe-text_label.h')
| -rw-r--r-- | src/live_effects/lpe-text_label.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/live_effects/lpe-text_label.h b/src/live_effects/lpe-text_label.h new file mode 100644 index 000000000..58db5ece9 --- /dev/null +++ b/src/live_effects/lpe-text_label.h @@ -0,0 +1,51 @@ +#ifndef INKSCAPE_LPE_TEXT_LABEL_H +#define INKSCAPE_LPE_TEXT_LABEL_H + +/** \file + * LPE <text_label> implementation + */ +/* + * Authors: + * Maximilian Albert + * Johan Engelen + * + * Copyright (C) Maximilian Albert 2008 <maximilian.albert@gmail.com> + * + * Released under GNU GPL, read the file 'COPYING' for more information + */ + +#include "live_effects/effect.h" +#include "live_effects/parameter/text.h" + +namespace Inkscape { +namespace LivePathEffect { + +class LPETextLabel : public Effect { +public: + LPETextLabel(LivePathEffectObject *lpeobject); + virtual ~LPETextLabel(); + + virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in); + +private: + TextParam label; + + LPETextLabel(const LPETextLabel&); + LPETextLabel& operator=(const LPETextLabel&); +}; + +} //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 : |
