Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
lpe-parallel.h
Go to the documentation of this file.
1// SPDX-License-Identifier: GPL-2.0-or-later
2#ifndef INKSCAPE_LPE_PARALLEL_H
3#define INKSCAPE_LPE_PARALLEL_H
4
9/*
10 * Authors:
11 * Maximilian Albert
12 *
13 * Copyright (C) Johan Engelen 2007 <j.b.c.engelen@utwente.nl>
14 * Copyright (C) Maximilian Albert 2008 <maximilian.albert@gmail.com>
15 *
16 * Released under GNU GPL v2+, read the file 'COPYING' for more information.
17 */
18
19#include "live_effects/effect.h"
21
22namespace Inkscape {
23namespace LivePathEffect {
24
25namespace Pl {
26 // we need a separate namespace to avoid clashes with LPEPerpBisector
27 class KnotHolderEntityLeftEnd;
28 class KnotHolderEntityRightEnd;
29}
30
31class LPEParallel : public Effect {
32public:
34 ~LPEParallel() override;
35
36 void doOnApply (SPLPEItem const* lpeitem) override;
37
39
40 /* the knotholder entity classes must be declared friends */
44
45private:
49
57
58 LPEParallel(const LPEParallel&) = delete;
60};
61
62} //namespace LivePathEffect
63} //namespace Inkscape
64
65#endif
66
67/*
68 Local Variables:
69 mode:c++
70 c-file-style:"stroustrup"
71 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
72 indent-tabs-mode:nil
73 fill-column:99
74 End:
75*/
76// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :
Adaptor that creates 2D functions from 1D ones.
Definition d2.h:55
Function defined as discrete pieces.
Definition piecewise.h:71
Two-dimensional point that doubles as a vector.
Definition point.h:66
LPEParallel & operator=(const LPEParallel &)=delete
LPEParallel(const LPEParallel &)=delete
Geom::Piecewise< Geom::D2< Geom::SBasis > > doEffect_pwd2(Geom::Piecewise< Geom::D2< Geom::SBasis > > const &pwd2_in) override
void doOnApply(SPLPEItem const *lpeitem) override
Is performed a single time when the effect is freshly applied to a path.
void addKnotHolderEntities(KnotHolder *knotholder, SPDesktop *desktop, SPItem *item)
To do: update description of desktop.
Definition desktop.h:149
Base class for visual SVG elements.
Definition sp-item.h:109
SPItem * item
Helper class to stream background task notifications as a series of messages.
SPDesktop * desktop