Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
lpe-show_handles.h
Go to the documentation of this file.
1// SPDX-License-Identifier: GPL-2.0-or-later
2#ifndef INKSCAPE_LPE_SHOW_HANDLES_H
3#define INKSCAPE_LPE_SHOW_HANDLES_H
4
5/*
6 * Authors:
7 * Jabier Arraiza Cenoz
8 *
9 * Copyright (C) Jabier Arraiza Cenoz 2014 <jabier.arraiza@marker.es>
10 * Released under GNU GPL v2+, read the file 'COPYING' for more information.
11 */
13#include "live_effects/effect.h"
16
17namespace Inkscape {
18namespace LivePathEffect {
19
21
22public:
24 ~LPEShowHandles() override = default;
25
26 void doOnApply(SPLPEItem const* lpeitem) override;
27
28 void doBeforeEffect (SPLPEItem const* lpeitem) override;
29
31
32 virtual void drawNode(Geom::Point p, Geom::NodeType nodetype);
33
34 virtual void drawHandle(Geom::Point p);
35
36 virtual void drawHandleLine(Geom::Point p,Geom::Point p2);
37
38protected:
39
40 Geom::PathVector doEffect_path (Geom::PathVector const & path_in) override;
41
42private:
43
51
53
54 LPEShowHandles(const LPEShowHandles &) = delete;
56
57};
58
59}; //namespace LivePathEffect
60}; //namespace Inkscape
61#endif
62
63// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :
Sequence of subpaths.
Definition pathvector.h:122
Two-dimensional point that doubles as a vector.
Definition point.h:66
virtual void generateHelperPath(Geom::PathVector result)
Geom::PathVector doEffect_path(Geom::PathVector const &path_in) override
LPEShowHandles(const LPEShowHandles &)=delete
virtual void drawNode(Geom::Point p, Geom::NodeType nodetype)
LPEShowHandles & operator=(const LPEShowHandles &)=delete
void doOnApply(SPLPEItem const *lpeitem) override
Sets default styles to element this permanently remove.some styles of the element.
void doBeforeEffect(SPLPEItem const *lpeitem) override
Is performed each time before the effect is updated.
virtual void drawHandleLine(Geom::Point p, Geom::Point p2)
Css & result
Specific nodetype geometry functions for Inkscape, not provided my lib2geom.
NodeType
What kind of node is this? This is the value for the node->type field.
Helper class to stream background task notifications as a series of messages.