1 // SPDX-License-Identifier: GPL-2.0-or-later 2 #ifndef INKSCAPE_LPE_TEXT_LABEL_H 3 #define INKSCAPE_LPE_TEXT_LABEL_H 4 5 /** \file 6 * LPE <text_label> implementation 7 */ 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 v2+, read the file 'COPYING' for more information. 16 */ 17 18 #include "live_effects/effect.h" 19 #include "live_effects/parameter/text.h" 20 21 namespace Inkscape { 22 namespace LivePathEffect { 23 24 class LPETextLabel : public Effect { 25 public: 26 LPETextLabel(LivePathEffectObject *lpeobject); 27 ~LPETextLabel() override; 28 29 Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in) override; 30 31 private: 32 TextParam label; 33 34 LPETextLabel(const LPETextLabel&) = delete; 35 LPETextLabel& operator=(const LPETextLabel&) = delete; 36 }; 37 38 } //namespace LivePathEffect 39 } //namespace Inkscape 40 41 #endif 42 43 /* 44 Local Variables: 45 mode:c++ 46 c-file-style:"stroustrup" 47 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) 48 indent-tabs-mode:nil 49 fill-column:99 50 End: 51 */ 52 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 : 53