Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Inkscape::LivePathEffect::NodeSatelliteArrayParam Class Reference

#include <nodesatellitesarray.h>

Inheritance diagram for Inkscape::LivePathEffect::NodeSatelliteArrayParam:
Inkscape::LivePathEffect::ArrayParam< std::vector< NodeSatellite > > Inkscape::LivePathEffect::Parameter

Public Member Functions

 NodeSatelliteArrayParam (const Glib::ustring &label, const Glib::ustring &tip, const Glib::ustring &key, Inkscape::UI::Widget::Registry *wr, Effect *effect)
 
Gtk::Widget * param_newWidget () override
 
void addKnotHolderEntities (KnotHolder *knotholder, SPItem *item) override
 
virtual void addKnotHolderEntities (KnotHolder *knotholder, SPItem *item, bool mirror)
 
void addCanvasIndicators (SPLPEItem const *lpeitem, std::vector< Geom::PathVector > &hp_vec) override
 
virtual void updateCanvasIndicators ()
 
virtual void updateCanvasIndicators (bool mirror)
 
bool providesKnotHolderEntities () const override
 
void param_transform_multiply (Geom::Affine const &postmul, bool) override
 
void setUseDistance (bool use_knot_distance)
 
void setCurrentZoom (double current_zoom)
 
void setGlobalKnotHide (bool global_knot_hide)
 
void setEffectType (EffectType et)
 
void reloadKnots ()
 
void updateAmmount (double amount)
 
void setPathVectorNodeSatellites (PathVectorNodeSatellites *pathVectorNodeSatellites, bool write=true)
 
void set_oncanvas_looks (Inkscape::CanvasItemCtrlShape shape, uint32_t color)
 
ParamType paramType () const override
 
- Public Member Functions inherited from Inkscape::LivePathEffect::ArrayParam< std::vector< NodeSatellite > >
 ArrayParam (const Glib::ustring &label, const Glib::ustring &tip, const Glib::ustring &key, Inkscape::UI::Widget::Registry *wr, Effect *effect, std::size_t n=0)
 
 ArrayParam (const ArrayParam &)
 
ArrayParamoperator= (const ArrayParam &)
 
std::vector< std::vector< NodeSatellite > > const & data () const
 
bool param_readSVGValue (char const *const strvalue) override
 
void param_update_default (char const *default_value) override
 
Glib::ustring param_getSVGValue () const override
 
Glib::ustring param_getDefaultSVGValue () const override
 
void param_setValue (std::vector< std::vector< NodeSatellite > > const &new_vector)
 
void param_set_default () override
 
void param_set_and_write_new_value (std::vector< std::vector< NodeSatellite > > const &new_vector)
 
bool valid_index (int index) const
 
- Public Member Functions inherited from Inkscape::LivePathEffect::Parameter
 Parameter (Glib::ustring label, Glib::ustring tip, Glib::ustring key, Inkscape::UI::Widget::Registry *wr, Effect *effect)
 
virtual ~Parameter ()
 
 Parameter (const Parameter &)=delete
 
Parameteroperator= (const Parameter &)=delete
 
virtual void param_widget_is_visible (bool is_visible)
 
virtual void param_widget_is_enabled (bool is_enabled)
 
void write_to_SVG ()
 
void read_from_SVG ()
 
void setUpdating (bool updating)
 
bool getUpdating () const
 
Glib::ustring const * param_getTooltip () const
 
virtual void param_editOncanvas (SPItem *, SPDesktop *)
 
virtual void param_setup_nodepath (Inkscape::NodePath::Path *)
 
virtual std::vector< SPObject * > param_get_satellites ()
 
void param_higlight (bool highlight)
 
void change_selection (Inkscape::Selection *selection)
 
void update_satellites ()
 
EffectType effectType () const
 
void connect_selection_changed ()
 

Private Member Functions

 NodeSatelliteArrayParam (const NodeSatelliteArrayParam &)=delete
 
NodeSatelliteArrayParamoperator= (const NodeSatelliteArrayParam &)=delete
 

Private Attributes

Inkscape::CanvasItemCtrlShape _knot_shape = Inkscape::CANVAS_ITEM_CTRL_SHAPE_DIAMOND
 
guint32 _knot_color = 0xaaff8800
 
Geom::PathVector _hp
 
bool _use_distance = false
 
bool _global_knot_hide = false
 
double _current_zoom = 0
 
EffectType _effectType = FILLET_CHAMFER
 
PathVectorNodeSatellites_last_pathvector_nodesatellites = nullptr
 

Friends

class FilletChamferKnotHolderEntity
 
class LPEFilletChamfer
 

Additional Inherited Members

- Public Attributes inherited from Inkscape::LivePathEffect::Parameter
sigc::scoped_connection selection_changed_connection
 
Glib::ustring param_key
 
Glib::ustring param_tooltip
 
Inkscape::UI::Widget::Registryparam_wr
 
Glib::ustring param_label
 
bool oncanvas_editable
 
bool widget_is_visible
 
bool widget_is_enabled
 
- Protected Member Functions inherited from Inkscape::LivePathEffect::ArrayParam< std::vector< NodeSatellite > >
void writesvg (SVGOStringStream &str, std::vector< std::vector< NodeSatellite > > const &vector) const
 
void writesvgData (SVGOStringStream &str, float const &vector_data) const
 
void writesvgData (SVGOStringStream &str, double const &vector_data) const
 
void writesvgData (SVGOStringStream &str, Glib::ustring const &vector_data) const
 
void writesvgData (SVGOStringStream &str, Geom::Point const &vector_data) const
 
void writesvgData (SVGOStringStream &str, std::shared_ptr< SatelliteReference > const &vector_data) const
 
void writesvgData (SVGOStringStream &str, std::vector< NodeSatellite > const &vector_data) const
 
std::vector< NodeSatellitereadsvg (char const *str)
 
double readsvg (char const *const str)
 
float readsvg (char const *const str)
 
Glib::ustring readsvg (char const *const str)
 
Geom::Point readsvg (char const *const str)
 
std::shared_ptr< SatelliteReferencereadsvg (char const *const str)
 
std::vector< NodeSatellitereadsvg (char const *const str)
 
- Protected Member Functions inherited from Inkscape::LivePathEffect::Parameter
void param_write_to_repr (const char *svgd)
 
- Protected Attributes inherited from Inkscape::LivePathEffect::ArrayParam< std::vector< NodeSatellite > >
std::vector< std::vector< NodeSatellite > > _vector
 
std::size_t _default_size
 
- Protected Attributes inherited from Inkscape::LivePathEffect::Parameter
bool _updating = false
 
Inkscape::Display::TemporaryItemownerlocator = nullptr
 
Effectparam_effect
 

Detailed Description

Definition at line 36 of file nodesatellitesarray.h.

Constructor & Destructor Documentation

◆ NodeSatelliteArrayParam() [1/2]

Inkscape::LivePathEffect::NodeSatelliteArrayParam::NodeSatelliteArrayParam ( const Glib::ustring &  label,
const Glib::ustring &  tip,
const Glib::ustring &  key,
Inkscape::UI::Widget::Registry wr,
Effect effect 
)

◆ NodeSatelliteArrayParam() [2/2]

Inkscape::LivePathEffect::NodeSatelliteArrayParam::NodeSatelliteArrayParam ( const NodeSatelliteArrayParam )
privatedelete

Member Function Documentation

◆ addCanvasIndicators()

void Inkscape::LivePathEffect::NodeSatelliteArrayParam::addCanvasIndicators ( SPLPEItem const *  lpeitem,
std::vector< Geom::PathVector > &  hp_vec 
)
overridevirtual

Reimplemented from Inkscape::LivePathEffect::Parameter.

Definition at line 172 of file nodesatellitesarray.cpp.

References _hp.

◆ addKnotHolderEntities() [1/2]

void Inkscape::LivePathEffect::NodeSatelliteArrayParam::addKnotHolderEntities ( KnotHolder knotholder,
SPItem item 
)
overridevirtual

Reimplemented from Inkscape::LivePathEffect::Parameter.

Definition at line 259 of file nodesatellitesarray.cpp.

References addKnotHolderEntities(), and item.

Referenced by addKnotHolderEntities(), and addKnotHolderEntities().

◆ addKnotHolderEntities() [2/2]

◆ operator=()

NodeSatelliteArrayParam & Inkscape::LivePathEffect::NodeSatelliteArrayParam::operator= ( const NodeSatelliteArrayParam )
privatedelete

◆ param_newWidget()

Gtk::Widget * Inkscape::LivePathEffect::NodeSatelliteArrayParam::param_newWidget ( )
inlineoverridevirtual

◆ param_transform_multiply()

◆ paramType()

ParamType Inkscape::LivePathEffect::NodeSatelliteArrayParam::paramType ( ) const
inlineoverridevirtual

◆ providesKnotHolderEntities()

bool Inkscape::LivePathEffect::NodeSatelliteArrayParam::providesKnotHolderEntities ( ) const
inlineoverridevirtual

Reimplemented from Inkscape::LivePathEffect::Parameter.

Definition at line 51 of file nodesatellitesarray.h.

◆ reloadKnots()

◆ set_oncanvas_looks()

void Inkscape::LivePathEffect::NodeSatelliteArrayParam::set_oncanvas_looks ( Inkscape::CanvasItemCtrlShape  shape,
uint32_t  color 
)

Definition at line 46 of file nodesatellitesarray.cpp.

References _knot_color, and _knot_shape.

◆ setCurrentZoom()

void Inkscape::LivePathEffect::NodeSatelliteArrayParam::setCurrentZoom ( double  current_zoom)

◆ setEffectType()

void Inkscape::LivePathEffect::NodeSatelliteArrayParam::setEffectType ( EffectType  et)

◆ setGlobalKnotHide()

void Inkscape::LivePathEffect::NodeSatelliteArrayParam::setGlobalKnotHide ( bool  global_knot_hide)

Definition at line 92 of file nodesatellitesarray.cpp.

References _global_knot_hide.

◆ setPathVectorNodeSatellites()

◆ setUseDistance()

void Inkscape::LivePathEffect::NodeSatelliteArrayParam::setUseDistance ( bool  use_knot_distance)

◆ updateAmmount()

◆ updateCanvasIndicators() [1/2]

void Inkscape::LivePathEffect::NodeSatelliteArrayParam::updateCanvasIndicators ( )
virtual

Definition at line 167 of file nodesatellitesarray.cpp.

References updateCanvasIndicators().

Referenced by updateCanvasIndicators(), and updateCanvasIndicators().

◆ updateCanvasIndicators() [2/2]

Friends And Related Symbol Documentation

◆ FilletChamferKnotHolderEntity

friend class FilletChamferKnotHolderEntity
friend

Definition at line 67 of file nodesatellitesarray.h.

Referenced by addKnotHolderEntities().

◆ LPEFilletChamfer

friend class LPEFilletChamfer
friend

Definition at line 68 of file nodesatellitesarray.h.

Member Data Documentation

◆ _current_zoom

double Inkscape::LivePathEffect::NodeSatelliteArrayParam::_current_zoom = 0
private

◆ _effectType

EffectType Inkscape::LivePathEffect::NodeSatelliteArrayParam::_effectType = FILLET_CHAMFER
private

◆ _global_knot_hide

◆ _hp

Geom::PathVector Inkscape::LivePathEffect::NodeSatelliteArrayParam::_hp
private

Definition at line 76 of file nodesatellitesarray.h.

Referenced by addCanvasIndicators(), and updateCanvasIndicators().

◆ _knot_color

guint32 Inkscape::LivePathEffect::NodeSatelliteArrayParam::_knot_color = 0xaaff8800
private

Definition at line 75 of file nodesatellitesarray.h.

Referenced by addKnotHolderEntities(), and set_oncanvas_looks().

◆ _knot_shape

Inkscape::CanvasItemCtrlShape Inkscape::LivePathEffect::NodeSatelliteArrayParam::_knot_shape = Inkscape::CANVAS_ITEM_CTRL_SHAPE_DIAMOND
private

Definition at line 74 of file nodesatellitesarray.h.

Referenced by set_oncanvas_looks().

◆ _last_pathvector_nodesatellites

◆ _use_distance

bool Inkscape::LivePathEffect::NodeSatelliteArrayParam::_use_distance = false
private

The documentation for this class was generated from the following files: