Inkscape
Vector Graphics Editor
|
#include <originalpath.h>
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 |
SPItem * | getObject () 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 |
![]() | |
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) |
SPItem * | getItem () const |
void | paste_param_path (const char *svgd) |
void | on_paste_button_click () |
void | linkitem (Glib::ustring pathid) |
ParamType | paramType () const override |
![]() | |
Parameter (Glib::ustring label, Glib::ustring tip, Glib::ustring key, Inkscape::UI::Widget::Registry *wr, Effect *effect) | |
virtual | ~Parameter () |
Parameter (const Parameter &)=delete | |
Parameter & | operator= (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 () |
![]() | |
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 () |
![]() | |
void | param_write_to_repr (const char *svgd) |
Private Member Functions | |
OriginalPathParam (const OriginalPathParam &)=delete | |
OriginalPathParam & | operator= (const OriginalPathParam &)=delete |
Definition at line 19 of file originalpath.h.
Inkscape::LivePathEffect::OriginalPathParam::OriginalPathParam | ( | const Glib::ustring & | label, |
const Glib::ustring & | tip, | ||
const Glib::ustring & | key, | ||
Inkscape::UI::Widget::Registry * | wr, | ||
Effect * | effect | ||
) |
Definition at line 31 of file originalpath.cpp.
References Inkscape::LivePathEffect::PathParam::_from_original_d, and Inkscape::LivePathEffect::Parameter::oncanvas_editable.
|
privatedelete |
|
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.
|
inline |
Definition at line 27 of file originalpath.h.
References Inkscape::LivePathEffect::PathReference::getObject(), and Inkscape::LivePathEffect::PathParam::ref.
Referenced by Inkscape::LivePathEffect::LPEAttachPath::doBeforeEffect(), Inkscape::LivePathEffect::LPEFillBetweenStrokes::doBeforeEffect(), Inkscape::LivePathEffect::LPEAttachPath::doEffect(), Inkscape::LivePathEffect::LPEFillBetweenStrokes::doEffect(), Inkscape::LivePathEffect::LPEAttachPath::doOnOpen(), Inkscape::LivePathEffect::LPEFillBetweenStrokes::doOnOpen(), and Inkscape::LivePathEffect::LPEFillBetweenStrokes::transform_multiply_nested().
|
inline |
Definition at line 26 of file originalpath.h.
References Inkscape::LivePathEffect::PathParam::href.
Referenced by Inkscape::LivePathEffect::LPEAttachPath::doEffect(), and Inkscape::LivePathEffect::LPEFillBetweenStrokes::doEffect().
|
protected |
Definition at line 77 of file originalpath.cpp.
References Inkscape::ObjectSet::clear(), desktop, Inkscape::LivePathEffect::Effect::getLPEObj(), Inkscape::LivePathEffect::PathReference::getObject(), SPDesktop::getSelection(), original, Inkscape::LivePathEffect::Parameter::param_effect, Inkscape::LivePathEffect::PathParam::ref, SPObject::requestModified(), and Inkscape::Selection::set().
Referenced by param_newWidget().
|
privatedelete |
|
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.
|
overridevirtual |
Implements Inkscape::LivePathEffect::Parameter.
Definition at line 41 of file originalpath.cpp.
References Inkscape::LivePathEffect::PathParam::on_link_button_click(), on_select_original_button_click(), Inkscape::UI::pack_start(), Inkscape::LivePathEffect::Parameter::param_label, and Inkscape::LivePathEffect::Parameter::param_tooltip.
|
inlineoverridevirtual |
Implements Inkscape::LivePathEffect::Parameter.
Definition at line 34 of file originalpath.h.
References Inkscape::LivePathEffect::ORIGINAL_PATH.