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

#include <originalpath.h>

Inheritance diagram for Inkscape::LivePathEffect::OriginalPathParam:
Inkscape::LivePathEffect::PathParam Inkscape::LivePathEffect::Parameter

Public Member Functions

 OriginalPathParam (const Glib::ustring &label, const Glib::ustring &tip, const Glib::ustring &key, Inkscape::UI::Widget::Registry *wr, Effect *effect)
 
bool linksToPath () const
 
SPItemgetObject () const
 
Gtk::Widget * param_newWidget () override
 
void param_editOncanvas (SPItem *, SPDesktop *) override
 Disable the canvas indicators of parent class by overriding this method.
 
void addCanvasIndicators (SPLPEItem const *, std::vector< Geom::PathVector > &) override
 Disable the canvas indicators of parent class by overriding this method.
 
ParamType paramType () const override
 
- Public Member Functions inherited from Inkscape::LivePathEffect::PathParam
 PathParam (const Glib::ustring &label, const Glib::ustring &tip, const Glib::ustring &key, Inkscape::UI::Widget::Registry *wr, Effect *effect, const gchar *default_value="M0,0 L1,1")
 
 ~PathParam () override
 
Geom::PathVector const & get_pathvector () const
 
void reload ()
 
Geom::Affine get_relative_affine ()
 
Geom::Piecewise< Geom::D2< Geom::SBasis > > const & get_pwd2 ()
 
Gtk::Widget * param_newWidget () override
 
std::vector< SPObject * > param_get_satellites () override
 
bool param_readSVGValue (const gchar *strvalue) override
 
Glib::ustring param_getSVGValue () const override
 
Glib::ustring param_getDefaultSVGValue () const override
 
void param_set_default () override
 
void param_update_default (const gchar *default_value) override
 
void param_set_and_write_default ()
 
void set_new_value (Geom::PathVector const &newpath, bool write_to_svg)
 
void set_new_value (Geom::Piecewise< Geom::D2< Geom::SBasis > > const &newpath, bool write_to_svg)
 
void set_buttons (bool edit_button, bool copy_button, bool paste_button, bool link_button)
 
void param_editOncanvas (SPItem *item, SPDesktop *dt) override
 
void param_setup_nodepath (Inkscape::NodePath::Path *np) override
 
void addCanvasIndicators (SPLPEItem const *lpeitem, std::vector< Geom::PathVector > &hp_vec) override
 
void param_transform_multiply (Geom::Affine const &postmul, bool set) override
 
void setFromOriginalD (bool from_original_d)
 
SPItemgetItem () const
 
void paste_param_path (const char *svgd)
 
void on_paste_button_click ()
 
void linkitem (Glib::ustring pathid)
 
ParamType paramType () const override
 
- 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 bool param_readSVGValue (char const *strvalue)=0
 
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
 
virtual void param_update_default (char const *default_value)=0
 
Glib::ustring const * param_getTooltip () const
 
virtual bool providesKnotHolderEntities () const
 
virtual void addKnotHolderEntities (KnotHolder *, SPItem *)
 
void param_higlight (bool highlight)
 
void change_selection (Inkscape::Selection *selection)
 
void update_satellites ()
 
EffectType effectType () const
 
void connect_selection_changed ()
 

Protected Member Functions

void on_select_original_button_click ()
 
- Protected Member Functions inherited from Inkscape::LivePathEffect::PathParam
void ensure_pwd2 ()
 
void ref_changed (SPObject *old_ref, SPObject *new_ref)
 
void unlink ()
 
void start_listening (SPObject *to)
 
void quit_listening ()
 
void linked_deleted (SPObject *deleted)
 
void linked_modified (SPObject *linked_obj, guint flags)
 
void linked_transformed (Geom::Affine const *rel_transf, SPItem *moved_item)
 
virtual void linked_modified_callback (SPObject *linked_obj, guint flags)
 
void on_edit_button_click ()
 
void on_copy_button_click ()
 
void on_link_button_click ()
 
void emit_changed ()
 
- Protected Member Functions inherited from Inkscape::LivePathEffect::Parameter
void param_write_to_repr (const char *svgd)
 

Private Member Functions

 OriginalPathParam (const OriginalPathParam &)=delete
 
OriginalPathParamoperator= (const OriginalPathParam &)=delete
 

Additional Inherited Members

- Public Attributes inherited from Inkscape::LivePathEffect::PathParam
sigc::signal< void()> signal_path_pasted
 
sigc::signal< void()> signal_path_changed
 
bool changed
 
- 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 Attributes inherited from Inkscape::LivePathEffect::PathParam
Geom::PathVector _pathvector
 
Geom::Piecewise< Geom::D2< Geom::SBasis > > _pwd2
 
bool must_recalculate_pwd2
 
gchar * href
 
PathReference ref
 
sigc::connection ref_changed_connection
 
sigc::connection linked_deleted_connection
 
sigc::connection linked_modified_connection
 
sigc::connection linked_transformed_connection
 
gchar * defvalue
 
bool _from_original_d
 
- Protected Attributes inherited from Inkscape::LivePathEffect::Parameter
bool _updating = false
 
Inkscape::Display::TemporaryItemownerlocator = nullptr
 
Effectparam_effect
 

Detailed Description

Definition at line 19 of file originalpath.h.

Constructor & Destructor Documentation

◆ OriginalPathParam() [1/2]

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

◆ OriginalPathParam() [2/2]

Inkscape::LivePathEffect::OriginalPathParam::OriginalPathParam ( const OriginalPathParam )
privatedelete

Member Function Documentation

◆ addCanvasIndicators()

void Inkscape::LivePathEffect::OriginalPathParam::addCanvasIndicators ( SPLPEItem const *  ,
std::vector< Geom::PathVector > &   
)
inlineoverridevirtual

Disable the canvas indicators of parent class by overriding this method.

Reimplemented from Inkscape::LivePathEffect::Parameter.

Definition at line 33 of file originalpath.h.

◆ getObject()

◆ linksToPath()

bool Inkscape::LivePathEffect::OriginalPathParam::linksToPath ( ) const
inline

◆ on_select_original_button_click()

◆ operator=()

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

◆ param_editOncanvas()

void Inkscape::LivePathEffect::OriginalPathParam::param_editOncanvas ( SPItem ,
SPDesktop  
)
inlineoverridevirtual

Disable the canvas indicators of parent class by overriding this method.

Reimplemented from Inkscape::LivePathEffect::Parameter.

Definition at line 31 of file originalpath.h.

◆ param_newWidget()

◆ paramType()

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

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