Inkscape
Vector Graphics Editor
|
#include <effect.h>
Public Member Functions | |
virtual | ~Effect () |
Effect (const Effect &)=delete | |
Effect & | operator= (const Effect &)=delete |
EffectType | effectType () const |
void | doAfterEffect_impl (SPLPEItem const *lpeitem, SPCurve *curve) |
void | doOnApply_impl (SPLPEItem const *lpeitem) |
void | doBeforeEffect_impl (SPLPEItem const *lpeitem) |
void | doOnOpen_impl () |
Is performed on document open allow things like fix legacy LPE in a undo insensitive way. | |
void | doOnRemove_impl (SPLPEItem const *lpeitem) |
void | transform_multiply_impl (Geom::Affine const &postmul, SPLPEItem *) |
void | doOnBeforeCommit () |
void | read_from_SVG () |
void | setCurrentZoom (double cZ) |
void | setSelectedNodePoints (std::vector< Geom::Point > sNP) |
bool | isNodePointSelected (Geom::Point const &nodePoint) const |
bool | isOnClipboard () |
The lpe is on clipboard. | |
std::vector< SPLPEItem * > | getCurrrentLPEItems () const |
void | update_satellites () |
virtual void | doOnException (SPLPEItem const *lpeitem) |
virtual void | doOnVisibilityToggled (SPLPEItem const *lpeitem) |
virtual void | adjustForNewPath () |
void | writeParamsToSVG () |
std::vector< SPObject * > | effect_get_satellites (bool force=true) |
virtual void | acceptParamPath (SPPath const *param_path) |
If the effect expects a path parameter (specified by a number of mouse clicks) before it is applied, this is the method that processes the resulting path. | |
int | acceptsNumClicks () const |
SPShape * | getCurrentShape () const |
void | setCurrentShape (SPShape *shape) |
virtual void | processObjects (LPEAction lpe_action) |
void | makeUndoDone (Glib::ustring message) |
bool | isReady () const |
void | setReady (bool ready=true) |
virtual void | doEffect (SPCurve *curve) |
virtual Gtk::Widget * | newWidget () |
This creates a managed widget. | |
virtual void | resetDefaults (SPItem const *item) |
Sets all parameters to their default values and writes them to SVG. | |
bool | providesKnotholder () const |
virtual LPEPathFlashType | pathFlashType () const |
void | addHandles (KnotHolder *knotholder, SPItem *item) |
Add all registered LPE knotholder handles to the knotholder. | |
std::vector< Geom::PathVector > | getCanvasIndicators (SPLPEItem const *lpeitem) |
Return a vector of PathVectors which contain all canvas indicators for this effect. | |
void | update_helperpath () |
Call to a method on nodetool to update the helper path from the effect. | |
bool | providesOwnFlashPaths () const |
bool | showOrigPath () const |
Glib::ustring | getName () const |
Inkscape::XML::Node * | getRepr () |
SPDocument * | getSPDoc () |
LivePathEffectObject * | getLPEObj () |
LivePathEffectObject const * | getLPEObj () const |
Parameter * | getParameter (const char *key) |
void | readallParameters (Inkscape::XML::Node const *repr) |
void | setParameter (const gchar *key, const gchar *new_value) |
bool | isVisible () const |
void | editNextParamOncanvas (SPItem *item, SPDesktop *desktop) |
void | setLPEAction (LPEAction lpe_action) |
void | setDefaultParameters () |
Set this LPE defaults. | |
void | resetDefaultParameters () |
Reset this LPE defaults. | |
bool | hasDefaultParameters () |
Get LPE has defaults. | |
virtual bool | getHolderRemove () |
Static Public Member Functions | |
static Effect * | New (EffectType lpenr, LivePathEffectObject *lpeobj) |
static void | createAndApply (const char *name, SPDocument *doc, SPItem *item) |
static void | createAndApply (EffectType type, SPDocument *doc, SPItem *item) |
static int | acceptsNumClicks (EffectType type) |
Public Attributes | |
bool | has_exception |
bool | apply_to_clippath_and_mask |
bool | keep_paths |
bool | is_load |
bool | is_applied |
bool | on_remove_all |
bool | refresh_widgets |
bool | finishiddle = false |
bool | satellitestoclipboard = false |
bool | helperLineSatellites = false |
gint | spinbutton_width_chars = 7 |
BoolParam | is_visible |
HiddenParam | lpeversion |
Geom::PathVector | pathvector_before_effect |
Geom::PathVector | pathvector_after_effect |
SPLPEItem * | sp_lpe_item = nullptr |
SPShape * | current_shape |
std::vector< Parameter * > | param_vector |
Protected Member Functions | |
Effect (LivePathEffectObject *lpeobject) | |
virtual Geom::PathVector | doEffect_path (Geom::PathVector const &path_in) |
virtual Geom::Piecewise< Geom::D2< Geom::SBasis > > | doEffect_pwd2 (Geom::Piecewise< Geom::D2< Geom::SBasis > > const &pwd2_in) |
void | registerParameter (Parameter *param) |
Parameter * | getNextOncanvasEditableParam () |
virtual void | addKnotHolderEntities (KnotHolder *, SPItem *) |
virtual void | addCanvasIndicators (SPLPEItem const *lpeitem, std::vector< Geom::PathVector > &hp_vec) |
Add possible canvas indicators (i.e., helperpaths other than the original path) to hp_vec This function should be overwritten by derived effects if they want to provide their own helperpaths. | |
Protected Attributes | |
bool | _adjust_path = false |
bool | _provides_knotholder_entities |
bool | _provides_path_adjustment = false |
LPEAction | _lpe_action = LPE_NONE |
int | oncanvasedit_it |
bool | show_orig_path |
bool | concatenate_before_pwd2 |
double | current_zoom |
std::vector< Geom::Point > | selectedNodesPoints |
Inkscape::UI::Widget::Registry | wr |
Private Member Functions | |
virtual void | transform_multiply (Geom::Affine const &postmul, bool set) |
Overridden function to apply transforms for example to powerstroke, jointtype or tapperstroke. | |
virtual bool | doOnOpen (SPLPEItem const *lpeitem) |
Is performed on load document or revert If the item is fixed legacy return true. | |
virtual void | doAfterEffect (SPLPEItem const *lpeitem, SPCurve *curve) |
Is performed at the end of the LPE only one time per "lpeitem" in paths/shapes is called in middle of the effect so we add the "curve" param to allow updates in the LPE results at this stage for groups dont need to send "curve" parameter because is applied when the LPE process finish, we can update LPE results without "curve" parameter. | |
virtual void | doOnRemove (SPLPEItem const *) |
virtual void | doOnApply (SPLPEItem const *lpeitem) |
Is performed a single time when the effect is freshly applied to a path. | |
virtual void | doBeforeEffect (SPLPEItem const *lpeitem) |
Is performed each time before the effect is updated. | |
void | setDefaultParam (Glib::ustring pref_path, Parameter *param) |
void | unsetDefaultParam (Glib::ustring pref_path, Parameter *param) |
Private Attributes | |
LivePathEffectObject * | lpeobj |
bool | provides_own_flash_paths |
sigc::connection | _before_commit_connection |
LPEItemShapesNumbers | _lpenumbers |
bool | is_ready |
bool | defaultsopen |
Friends | |
class | SatelliteArrayParam |
class | LPEMeasureSegments |
|
virtual |
Definition at line 1167 of file effect.cpp.
References _before_commit_connection.
|
delete |
|
protected |
Definition at line 1140 of file effect.cpp.
References _before_commit_connection, SPDocument::connectBeforeCommit(), SPObject::document, doOnBeforeCommit(), is_visible, lpeobj, lpeversion, registerParameter(), and Inkscape::LivePathEffect::Parameter::widget_is_visible.
|
virtual |
If the effect expects a path parameter (specified by a number of mouse clicks) before it is applied, this is the method that processes the resulting path.
Override it to customize it for your LPE. But don't forget to call the parent method so that is_ready is set to true!
Definition at line 1608 of file effect.cpp.
References setReady().
Referenced by Inkscape::UI::Tools::PenTool::_handleButtonRelease().
|
inline |
Definition at line 111 of file effect.h.
References acceptsNumClicks(), and effectType().
Referenced by acceptsNumClicks(), Inkscape::UI::Tools::lpetool_try_construction(), and Inkscape::UI::Tools::LpeTool::root_handler().
|
static |
Definition at line 917 of file effect.cpp.
References Inkscape::LivePathEffect::ANGLE_BISECTOR, Inkscape::LivePathEffect::CIRCLE_3PTS, Inkscape::LivePathEffect::CIRCLE_WITH_RADIUS, Inkscape::LivePathEffect::INVALID_LPE, Inkscape::LivePathEffect::LINE_SEGMENT, and Inkscape::LivePathEffect::PERP_BISECTOR.
Referenced by SPLPEItem::performOnePathEffect().
|
protectedvirtual |
Add possible canvas indicators (i.e., helperpaths other than the original path) to hp_vec This function should be overwritten by derived effects if they want to provide their own helperpaths.
Reimplemented in Inkscape::LivePathEffect::LPEBendPath, Inkscape::LivePathEffect::LPEBSpline, Inkscape::LivePathEffect::LPEFilletChamfer, Inkscape::LivePathEffect::LPELattice2, Inkscape::LivePathEffect::LPEPatternAlongPath, Inkscape::LivePathEffect::LPEPerspectiveEnvelope, Inkscape::LivePathEffect::LPESimplify, Inkscape::LivePathEffect::LPETiling, Inkscape::LivePathEffect::LPEBool, Inkscape::LivePathEffect::LPECopyRotate, Inkscape::LivePathEffect::LPEKnot, Inkscape::LivePathEffect::LPEMirrorSymmetry, Inkscape::LivePathEffect::LPEOffset, Inkscape::LivePathEffect::LPESlice, and Inkscape::LivePathEffect::LPETransform2Pts.
Definition at line 1768 of file effect.cpp.
Referenced by getCanvasIndicators().
void Inkscape::LivePathEffect::Effect::addHandles | ( | KnotHolder * | knotholder, |
SPItem * | item | ||
) |
Add all registered LPE knotholder handles to the knotholder.
Definition at line 1720 of file effect.cpp.
References addKnotHolderEntities(), is_load, item, param_vector, and sp_lpe_item_update_patheffect().
|
inlineprotectedvirtual |
Reimplemented in Inkscape::LivePathEffect::LPETiling, Inkscape::LivePathEffect::LPEBendPath, Inkscape::LivePathEffect::LPEKnot, Inkscape::LivePathEffect::LPEOffset, Inkscape::LivePathEffect::LPEPatternAlongPath, Inkscape::LivePathEffect::LPETangentToCurve, and Inkscape::LivePathEffect::LPETaperStroke.
Definition at line 203 of file effect.h.
Referenced by addHandles().
|
virtual |
Reimplemented in Inkscape::LivePathEffect::LPEFilletChamfer, and Inkscape::LivePathEffect::LPEPowerStroke.
Definition at line 1477 of file effect.cpp.
References _adjust_path.
Referenced by doBeforeEffect_impl().
|
static |
Definition at line 1118 of file effect.cpp.
References Inkscape::XML::Node::addChild(), Inkscape::XML::Node::attribute(), Inkscape::XML::Document::createElement(), SPDocument::getDefs(), SPObject::getRepr(), SPDocument::getReprDoc(), item, name, Inkscape::GC::release(), and Inkscape::XML::Node::setAttribute().
Referenced by createAndApply(), Inkscape::UI::Tools::lpetool_try_construction(), Inkscape::UI::Dialog::LivePathEffectEditor::onAdd(), Inkscape::LivePathEffect::sp_inverse_powerclip(), and Inkscape::LivePathEffect::sp_inverse_powermask().
|
static |
Definition at line 1135 of file effect.cpp.
References createAndApply(), item, and Inkscape::LivePathEffect::LPETypeConverter.
|
privatevirtual |
Is performed at the end of the LPE only one time per "lpeitem" in paths/shapes is called in middle of the effect so we add the "curve" param to allow updates in the LPE results at this stage for groups dont need to send "curve" parameter because is applied when the LPE process finish, we can update LPE results without "curve" parameter.
lpeitem | the element that has this LPE |
curve | the curve to pass when in mode path or shape |
Reimplemented in Inkscape::LivePathEffect::LPEOffset, Inkscape::LivePathEffect::LPETiling, Inkscape::LivePathEffect::LPEBool, Inkscape::LivePathEffect::LPECopyRotate, Inkscape::LivePathEffect::LPEMirrorSymmetry, Inkscape::LivePathEffect::LPEPowerStroke, and Inkscape::LivePathEffect::LPESlice.
Definition at line 1457 of file effect.cpp.
References update_satellites().
Referenced by doAfterEffect_impl().
void Inkscape::LivePathEffect::Effect::doAfterEffect_impl | ( | SPLPEItem const * | lpeitem, |
SPCurve * | curve | ||
) |
Definition at line 1483 of file effect.cpp.
References _adjust_path, doAfterEffect(), is_applied, and is_load.
Referenced by SPLPEItem::performOnePathEffect(), and SPGroup::update_patheffect().
|
privatevirtual |
Is performed each time before the effect is updated.
Reimplemented in Inkscape::LivePathEffect::LPERoughHatches, Inkscape::LivePathEffect::LPEVonKoch, Inkscape::LivePathEffect::LPETiling, Inkscape::LivePathEffect::LPEAttachPath, Inkscape::LivePathEffect::LPEBendPath, Inkscape::LivePathEffect::LPEBool, Inkscape::LivePathEffect::LPEBoundingBox, Inkscape::LivePathEffect::LPEBSpline, Inkscape::LivePathEffect::LPECloneOriginal, Inkscape::LivePathEffect::LPECopyRotate, Inkscape::LivePathEffect::LPEDashedStroke, Inkscape::LivePathEffect::LPEEnvelope, Inkscape::LivePathEffect::LPEFillBetweenMany, Inkscape::LivePathEffect::LPEFillBetweenStrokes, Inkscape::LivePathEffect::LPEFilletChamfer, Inkscape::LivePathEffect::LPEKnot, Inkscape::LivePathEffect::LPELattice, Inkscape::LivePathEffect::LPELattice2, Inkscape::LivePathEffect::LPELineSegment, Inkscape::LivePathEffect::LPEMeasureSegments, Inkscape::LivePathEffect::LPEMirrorSymmetry, Inkscape::LivePathEffect::LPEOffset, Inkscape::LivePathEffect::LPEPatternAlongPath, Inkscape::LivePathEffect::LPEPerspectiveEnvelope, Inkscape::LivePathEffect::LPEPowerClip, Inkscape::LivePathEffect::LPEPowerMask, Inkscape::LivePathEffect::LPEPowerStroke, Inkscape::LivePathEffect::LPERoughen, Inkscape::LivePathEffect::LPEShowHandles, Inkscape::LivePathEffect::LPESimplify, Inkscape::LivePathEffect::LPESketch, Inkscape::LivePathEffect::LPESlice, Inkscape::LivePathEffect::LPETaperStroke, and Inkscape::LivePathEffect::LPETransform2Pts.
Definition at line 1444 of file effect.cpp.
Referenced by doBeforeEffect_impl().
void Inkscape::LivePathEffect::Effect::doBeforeEffect_impl | ( | SPLPEItem const * | lpeitem | ) |
Definition at line 1550 of file effect.cpp.
References _lpenumbers, _provides_path_adjustment, adjustForNewPath(), count_pathvector_curves(), doBeforeEffect(), is_load, Inkscape::LivePathEffect::LPEItemShapesNumbers::nchildshapes, Inkscape::LivePathEffect::LPEItemShapesNumbers::ncurves, Inkscape::LivePathEffect::LPEItemShapesNumbers::nsubpaths, pathvector_before_effect, Geom::PathVector::size(), sp_lpe_item, update_helperpath(), and update_satellites().
Referenced by SPLPEItem::performOnePathEffect(), and SPGroup::update_patheffect().
|
virtual |
Reimplemented in Inkscape::LivePathEffect::LPEAttachPath, Inkscape::LivePathEffect::LPEBool, Inkscape::LivePathEffect::LPEBoundingBox, Inkscape::LivePathEffect::LPEBSpline, Inkscape::LivePathEffect::LPECloneOriginal, Inkscape::LivePathEffect::LPEFillBetweenMany, Inkscape::LivePathEffect::LPEFillBetweenStrokes, Inkscape::LivePathEffect::LPEMeasureSegments, Inkscape::LivePathEffect::LPEPerspectiveEnvelope, Inkscape::LivePathEffect::LPEPowerMask, Inkscape::LivePathEffect::LPERoughen, Inkscape::LivePathEffect::LPESimplify, Inkscape::LivePathEffect::LPESpiro, and Inkscape::LivePathEffect::LPEdoEffectStackTest.
Definition at line 1616 of file effect.cpp.
References doEffect_path().
Referenced by Inkscape::LivePathEffect::LPEdoEffectStackTest::doEffect(), and SPLPEItem::performOnePathEffect().
|
protectedvirtual |
Reimplemented in Inkscape::LivePathEffect::LPEKnot, Inkscape::LivePathEffect::LPEEllipse5Pts, Inkscape::LivePathEffect::LPETiling, Inkscape::LivePathEffect::LPEAngleBisector, Inkscape::LivePathEffect::LPECircle3Pts, Inkscape::LivePathEffect::LPECircleWithRadius, Inkscape::LivePathEffect::LPEConstructGrid, Inkscape::LivePathEffect::LPECopyRotate, Inkscape::LivePathEffect::LPECurveStitch, Inkscape::LivePathEffect::LPEDashedStroke, Inkscape::LivePathEffect::LPEEmbroderyStitch, Inkscape::LivePathEffect::LPEFilletChamfer, Inkscape::LivePathEffect::LPEGears, Inkscape::LivePathEffect::LPEInterpolate, Inkscape::LivePathEffect::LPEInterpolatePoints, Inkscape::LivePathEffect::LPEJoinType, Inkscape::LivePathEffect::LPELineSegment, Inkscape::LivePathEffect::LPEMirrorSymmetry, Inkscape::LivePathEffect::LPEOffset, Inkscape::LivePathEffect::LPEPowerClip, Inkscape::LivePathEffect::LPEPowerStroke, Inkscape::LivePathEffect::LPEPts2Ellipse, Inkscape::LivePathEffect::LPEShowHandles, Inkscape::LivePathEffect::LPESlice, Inkscape::LivePathEffect::LPETaperStroke, Inkscape::LivePathEffect::LPEdoEffectStackTest, and Inkscape::LivePathEffect::LPEVonKoch.
Definition at line 1626 of file effect.cpp.
References Geom::Piecewise< T >::concat(), concatenate_before_pwd2, doEffect_pwd2(), Geom::path_from_piecewise(), and Geom::PathVector::push_back().
Referenced by doEffect(), and Inkscape::LivePathEffect::LPEdoEffectStackTest::doEffect_path().
|
protectedvirtual |
Reimplemented in Inkscape::LivePathEffect::LPEBendPath, Inkscape::LivePathEffect::LPEDynastroke, Inkscape::LivePathEffect::LPEEnvelope, Inkscape::LivePathEffect::LPEExtrude, Inkscape::LivePathEffect::LPELattice, Inkscape::LivePathEffect::LPELattice2, Inkscape::LivePathEffect::LPEParallel, Inkscape::LivePathEffect::LPEPathLength, Inkscape::LivePathEffect::LPEPatternAlongPath, Inkscape::LivePathEffect::LPEPerpBisector, Inkscape::LivePathEffect::LPERecursiveSkeleton, Inkscape::LivePathEffect::LPERoughHatches, Inkscape::LivePathEffect::LPERuler, Inkscape::LivePathEffect::LPESkeleton, Inkscape::LivePathEffect::LPESketch, Inkscape::LivePathEffect::LPETangentToCurve, Inkscape::LivePathEffect::LPEdoEffectStackTest, Inkscape::LivePathEffect::LPETextLabel, and Inkscape::LivePathEffect::LPETransform2Pts.
Definition at line 1655 of file effect.cpp.
Referenced by doEffect_path().
|
privatevirtual |
Is performed a single time when the effect is freshly applied to a path.
Reimplemented in Inkscape::LivePathEffect::LPETiling, Inkscape::LivePathEffect::LPEBoundingBox, Inkscape::LivePathEffect::LPEBSpline, Inkscape::LivePathEffect::LPECopyRotate, Inkscape::LivePathEffect::LPEFillBetweenMany, Inkscape::LivePathEffect::LPEFillBetweenStrokes, Inkscape::LivePathEffect::LPEFilletChamfer, Inkscape::LivePathEffect::LPEJoinType, Inkscape::LivePathEffect::LPEMeasureSegments, Inkscape::LivePathEffect::LPEMirrorSymmetry, Inkscape::LivePathEffect::LPEOffset, Inkscape::LivePathEffect::LPEParallel, Inkscape::LivePathEffect::LPEPerpBisector, Inkscape::LivePathEffect::LPEPowerMask, Inkscape::LivePathEffect::LPEPowerStroke, Inkscape::LivePathEffect::LPERoughHatches, Inkscape::LivePathEffect::LPERoughen, Inkscape::LivePathEffect::LPERuler, Inkscape::LivePathEffect::LPEShowHandles, Inkscape::LivePathEffect::LPESimplify, Inkscape::LivePathEffect::LPESlice, Inkscape::LivePathEffect::LPETaperStroke, and Inkscape::LivePathEffect::LPETransform2Pts.
Definition at line 1204 of file effect.cpp.
Referenced by doOnApply_impl().
void Inkscape::LivePathEffect::Effect::doOnApply_impl | ( | SPLPEItem const * | lpeitem | ) |
Definition at line 1532 of file effect.cpp.
References doOnApply(), has_exception, is_applied, lpeversion, Inkscape::LivePathEffect::HiddenParam::param_setValue(), setReady(), sp_lpe_item, and SPObject::updateRepr().
Referenced by SPLPEItem::addPathEffect().
void Inkscape::LivePathEffect::Effect::doOnBeforeCommit | ( | ) |
Definition at line 1277 of file effect.cpp.
References _lpe_action, Inkscape::XML::Node::attribute(), Inkscape::LivePathEffect::SatelliteArrayParam::clear(), css, Inkscape::LivePathEffect::ArrayParam< StorageType >::data(), SPObject::deleteObject(), SPObject::document, SPLPEItem::getCurrentLPE(), getLPEObj(), SPObject::getRepr(), getSPDoc(), SPItem::isHidden(), isVisible(), item, Inkscape::LivePathEffect::LPE_ERASE, Inkscape::LivePathEffect::LPE_NONE, Inkscape::LivePathEffect::LPE_TO_OBJECTS, Inkscape::LivePathEffect::LPE_UPDATE, Inkscape::LivePathEffect::LPE_VISIBILITY, Inkscape::LivePathEffect::SatelliteParam::lperef, SPItem::moveTo(), param_vector, SPObject::parent, Inkscape::LivePathEffect::Parameter::read_from_SVG(), Inkscape::XML::Node::removeAttribute(), Inkscape::XML::Node::setAttributeOrRemoveIfEmpty(), Inkscape::LivePathEffect::Parameter::setUpdating(), sp_lpe_item, sp_lpe_item_enable_path_effects(), sp_lpe_item_update_patheffect(), sp_repr_css_attr_add_from_string(), sp_repr_css_attr_new(), sp_repr_css_attr_unref(), sp_repr_css_write_string(), Inkscape::LivePathEffect::SatelliteParam::unlink(), and Inkscape::LivePathEffect::Parameter::write_to_SVG().
Referenced by Effect().
|
virtual |
Definition at line 1463 of file effect.cpp.
References has_exception, pathvector_after_effect, and pathvector_before_effect.
Referenced by SPLPEItem::performOnePathEffect().
|
privatevirtual |
Is performed on load document or revert If the item is fixed legacy return true.
Reimplemented in Inkscape::LivePathEffect::LPETiling, Inkscape::LivePathEffect::LPECopyRotate, Inkscape::LivePathEffect::LPEMirrorSymmetry, Inkscape::LivePathEffect::LPEAttachPath, Inkscape::LivePathEffect::LPEBendPath, Inkscape::LivePathEffect::LPEBool, Inkscape::LivePathEffect::LPEBoundingBox, Inkscape::LivePathEffect::LPECloneOriginal, Inkscape::LivePathEffect::LPECurveStitch, Inkscape::LivePathEffect::LPEEnvelope, Inkscape::LivePathEffect::LPEFillBetweenMany, Inkscape::LivePathEffect::LPEFillBetweenStrokes, Inkscape::LivePathEffect::LPEInterpolate, Inkscape::LivePathEffect::LPEMeasureSegments, Inkscape::LivePathEffect::LPEOffset, Inkscape::LivePathEffect::LPEPatternAlongPath, Inkscape::LivePathEffect::LPESlice, and Inkscape::LivePathEffect::LPEVonKoch.
Definition at line 1424 of file effect.cpp.
References update_satellites().
Referenced by doOnOpen_impl().
void Inkscape::LivePathEffect::Effect::doOnOpen_impl | ( | ) |
Is performed on document open allow things like fix legacy LPE in a undo insensitive way.
Definition at line 1510 of file effect.cpp.
References doOnOpen(), getCurrrentLPEItems(), is_load, isReady(), and setReady().
|
privatevirtual |
Reimplemented in Inkscape::LivePathEffect::LPETiling, Inkscape::LivePathEffect::LPEBool, Inkscape::LivePathEffect::LPECloneOriginal, Inkscape::LivePathEffect::LPECopyRotate, Inkscape::LivePathEffect::LPEMeasureSegments, Inkscape::LivePathEffect::LPEMirrorSymmetry, Inkscape::LivePathEffect::LPEPowerClip, Inkscape::LivePathEffect::LPEPowerMask, Inkscape::LivePathEffect::LPESlice, Inkscape::LivePathEffect::LPEJoinType, Inkscape::LivePathEffect::LPEPowerStroke, and Inkscape::LivePathEffect::LPETaperStroke.
Definition at line 1470 of file effect.cpp.
Referenced by doOnRemove_impl().
void Inkscape::LivePathEffect::Effect::doOnRemove_impl | ( | SPLPEItem const * | lpeitem | ) |
Definition at line 1491 of file effect.cpp.
References LivePathEffectObject::deleted, SPObject::document, doOnRemove(), getLPEObj(), getSPDoc(), and sp_lpe_item.
Referenced by SPLPEItem::removeAllPathEffects().
|
virtual |
Reimplemented in Inkscape::LivePathEffect::LPETiling, Inkscape::LivePathEffect::LPEBool, Inkscape::LivePathEffect::LPECopyRotate, Inkscape::LivePathEffect::LPEMeasureSegments, Inkscape::LivePathEffect::LPEMirrorSymmetry, Inkscape::LivePathEffect::LPESlice, Inkscape::LivePathEffect::LPEPowerClip, and Inkscape::LivePathEffect::LPEPowerMask.
Definition at line 1473 of file effect.cpp.
Referenced by Inkscape::UI::Dialog::LivePathEffectEditor::toggleVisible().
Definition at line 1994 of file effect.cpp.
References desktop, Inkscape::MessageStack::flash(), getNextOncanvasEditableParam(), item, SPDesktop::messageStack(), Inkscape::NORMAL_MESSAGE, Inkscape::LivePathEffect::Parameter::param_editOncanvas(), Inkscape::LivePathEffect::Parameter::param_label, and Inkscape::WARNING_MESSAGE.
std::vector< SPObject * > Inkscape::LivePathEffect::Effect::effect_get_satellites | ( | bool | force = true | ) |
Definition at line 1588 of file effect.cpp.
References param_vector, and satellitestoclipboard.
Referenced by SPLPEItem::get_satellites().
EffectType Inkscape::LivePathEffect::Effect::effectType | ( | ) | const |
Definition at line 1182 of file effect.cpp.
References LivePathEffectObject::effecttype, and lpeobj.
Referenced by acceptsNumClicks(), SPLPEItem::countLPEOfType(), Inkscape::LivePathEffect::LPEFilletChamfer::doBeforeEffect(), Inkscape::LivePathEffect::LPEJoinType::doOnApply(), Inkscape::LivePathEffect::LPERoughen::doOnApply(), Inkscape::LivePathEffect::LPETaperStroke::doOnApply(), Inkscape::LivePathEffect::Parameter::effectType(), SPLPEItem::getFirstPathEffectOfType(), hasDefaultParameters(), SPLPEItem::hasPathEffectOfType(), makeUndoDone(), readallParameters(), resetDefaultParameters(), Inkscape::UI::Dialog::LivePathEffectEditor::selection_info(), and setDefaultParameters().
std::vector< Geom::PathVector > Inkscape::LivePathEffect::Effect::getCanvasIndicators | ( | SPLPEItem const * | lpeitem | ) |
Return a vector of PathVectors which contain all canvas indicators for this effect.
This is the function called by external code to get all canvas indicators (effect and its parameters) lpeitem = the item onto which this effect is applied
Definition at line 1745 of file effect.cpp.
References addCanvasIndicators(), SPItem::i2doc_affine(), param_vector, and scale.
Referenced by Inkscape::UI::Tools::sp_update_helperpath().
|
inline |
Definition at line 112 of file effect.h.
References current_shape.
Referenced by Inkscape::LivePathEffect::LPESlice::doAfterEffect().
std::vector< SPLPEItem * > Inkscape::LivePathEffect::Effect::getCurrrentLPEItems | ( | ) | const |
Definition at line 1187 of file effect.cpp.
References getLPEObj(), SPObject::hrefList, item, and result.
Referenced by Inkscape::LivePathEffect::LPEFillBetweenMany::doBeforeEffect(), Inkscape::LivePathEffect::LPEFillBetweenStrokes::doBeforeEffect(), Inkscape::LivePathEffect::LPEFillBetweenMany::doOnOpen(), Inkscape::LivePathEffect::LPEFillBetweenStrokes::doOnOpen(), Inkscape::LivePathEffect::LPESlice::doOnOpen(), doOnOpen_impl(), Inkscape::LivePathEffect::PathParam::get_relative_affine(), Inkscape::LivePathEffect::LPECloneOriginal::getHolderRemove(), Inkscape::LivePathEffect::LPESlice::getSplitLines(), makeUndoDone(), Inkscape::LivePathEffect::Parameter::param_higlight(), Inkscape::LivePathEffect::SatelliteArrayParam::param_readSVGValue(), Inkscape::LivePathEffect::SatelliteParam::param_readSVGValue(), Inkscape::LivePathEffect::LPESlice::resetStyles(), Inkscape::LivePathEffect::LPEFilletChamfer::setSelected(), Inkscape::LivePathEffect::LPEFillBetweenMany::transform_multiply_nested(), Inkscape::LivePathEffect::LPEFillBetweenStrokes::transform_multiply_nested(), Inkscape::LivePathEffect::Parameter::update_satellites(), and Inkscape::LivePathEffect::LPEFilletChamfer::updateAmount().
|
inlinevirtual |
Reimplemented in Inkscape::LivePathEffect::LPECloneOriginal.
Definition at line 183 of file effect.h.
Referenced by SPLPEItem::removeAllPathEffects().
|
inline |
Definition at line 151 of file effect.h.
References lpeobj.
Referenced by Inkscape::UI::PathManipulator::_bsplineGetSteps(), Inkscape::UI::Tools::PenTool::_bsplineSpiroStartAnchor(), Inkscape::LivePathEffect::LPEPowerStroke::doAfterEffect(), Inkscape::LivePathEffect::LPECloneOriginal::doBeforeEffect(), doOnBeforeCommit(), Inkscape::LivePathEffect::LPECopyRotate::doOnOpen(), Inkscape::LivePathEffect::LPEMirrorSymmetry::doOnOpen(), doOnRemove_impl(), getCurrrentLPEItems(), Inkscape::LivePathEffect::LPEPowerClip::getId(), Inkscape::LivePathEffect::LPEPowerMask::getId(), SPLPEItem::getLPEIndex(), SPLPEItem::getNextLPE(), SPLPEItem::getPrevLPE(), isOnClipboard(), Inkscape::LivePathEffect::SatelliteArrayParam::link(), Inkscape::LivePathEffect::PathArrayParam::linked_changed(), Inkscape::LivePathEffect::SatelliteParam::linked_modified(), Inkscape::LivePathEffect::PathArrayParam::linked_modified(), Inkscape::LivePathEffect::PathParam::linked_modified_callback(), Inkscape::LivePathEffect::PathArrayParam::linked_release(), Inkscape::LivePathEffect::SatelliteParam::linked_released(), Inkscape::LivePathEffect::LPECloneOriginal::LPECloneOriginal(), Inkscape::LivePathEffect::LPEFilletChamfer::LPEFilletChamfer(), Inkscape::LivePathEffect::SatelliteArrayParam::on_link_button_click(), Inkscape::LivePathEffect::OriginalPathParam::on_select_original_button_click(), Inkscape::LivePathEffect::PathParam::param_editOncanvas(), Inkscape::LivePathEffect::PathArrayParam::param_readSVGValue(), Inkscape::LivePathEffect::SatelliteParam::param_readSVGValue(), Inkscape::LivePathEffect::LPEMeasureSegments::processObjects(), SPLPEItem::removePathEffect(), and Inkscape::LivePathEffect::Parameter::update_satellites().
|
inline |
Glib::ustring Inkscape::LivePathEffect::Effect::getName | ( | ) | const |
Definition at line 1173 of file effect.cpp.
References LivePathEffectObject::effecttype, LivePathEffectObject::effecttype_set, lpeobj, and Inkscape::LivePathEffect::LPETypeConverter.
Referenced by SPPath::description(), LivePathEffectObject::is_similar(), and SPLPEItem::performOnePathEffect().
|
protected |
Definition at line 1967 of file effect.cpp.
References Inkscape::LivePathEffect::Parameter::oncanvas_editable, oncanvasedit_it, and param_vector.
Referenced by editNextParamOncanvas().
Parameter * Inkscape::LivePathEffect::Effect::getParameter | ( | const char * | key | ) |
Definition at line 1948 of file effect.cpp.
References key, Inkscape::LivePathEffect::Parameter::param_key, and param_vector.
Referenced by Inkscape::UI::PathManipulator::_getGeometry(), Inkscape::UI::PathManipulator::_setGeometry(), and setParameter().
Inkscape::XML::Node * Inkscape::LivePathEffect::Effect::getRepr | ( | ) |
Definition at line 1934 of file effect.cpp.
References SPObject::getRepr(), and lpeobj.
Referenced by Inkscape::UI::Tools::PencilTool::addPowerStrokePencil(), Inkscape::LivePathEffect::LPECopyRotate::LPECopyRotate(), Inkscape::LivePathEffect::LPEPowerClip::LPEPowerClip(), Inkscape::LivePathEffect::LPETaperStroke::LPETaperStroke(), Inkscape::LivePathEffect::PointParam::param_newWidget(), Inkscape::LivePathEffect::BoolParam::param_newWidget(), Inkscape::LivePathEffect::ColorPickerParam::param_newWidget(), Inkscape::LivePathEffect::EnumParam< E >::param_newWidget(), Inkscape::LivePathEffect::EnumArrayParam::param_newWidget(), Inkscape::LivePathEffect::FontButtonParam::param_newWidget(), Inkscape::LivePathEffect::ScalarParam::param_newWidget(), Inkscape::LivePathEffect::RandomParam::param_newWidget(), Inkscape::LivePathEffect::ScalarArrayParam::param_newWidget(), Inkscape::LivePathEffect::TextParam::param_newWidget(), Inkscape::LivePathEffect::ToggleButtonParam::param_newWidget(), Inkscape::LivePathEffect::TransformedPointParam::param_newWidget(), Inkscape::LivePathEffect::UnitParam::param_newWidget(), Inkscape::LivePathEffect::VectorParam::param_newWidget(), Inkscape::LivePathEffect::Parameter::param_write_to_repr(), Inkscape::LivePathEffect::Parameter::read_from_SVG(), Inkscape::LivePathEffect::sp_inverse_powerclip(), Inkscape::LivePathEffect::sp_inverse_powermask(), Inkscape::UI::Tools::spdc_apply_powerstroke_shape(), Inkscape::UI::Tools::spdc_apply_simplify(), Inkscape::UI::Tools::spdc_paste_curve_as_freehand_shape(), and Inkscape::UI::Dialog::LivePathEffectEditor::toggleVisible().
SPDocument * Inkscape::LivePathEffect::Effect::getSPDoc | ( | ) |
Definition at line 1939 of file effect.cpp.
References SPObject::document, and lpeobj.
Referenced by Inkscape::LivePathEffect::LPEPowerClip::add(), Inkscape::LivePathEffect::LPECloneOriginal::cloneAttributes(), Inkscape::LivePathEffect::LPECopyRotate::cloneD(), Inkscape::LivePathEffect::LPEMirrorSymmetry::cloneD(), Inkscape::LivePathEffect::LPETiling::cloneD(), Inkscape::LivePathEffect::LPESlice::cloneD(), Inkscape::LivePathEffect::LPEMeasureSegments::createArrowMarker(), Inkscape::LivePathEffect::LPEMeasureSegments::createLine(), Inkscape::LivePathEffect::LPECopyRotate::createPathBase(), Inkscape::LivePathEffect::LPEMirrorSymmetry::createPathBase(), Inkscape::LivePathEffect::LPESlice::createPathBase(), Inkscape::LivePathEffect::LPETiling::createPathBase(), Inkscape::LivePathEffect::LPEMeasureSegments::createTextLabel(), Inkscape::LivePathEffect::LPETiling::doAfterEffect(), Inkscape::LivePathEffect::LPECopyRotate::doAfterEffect(), Inkscape::LivePathEffect::LPEMirrorSymmetry::doAfterEffect(), Inkscape::LivePathEffect::LPESlice::doAfterEffect(), Inkscape::LivePathEffect::LPETiling::doBeforeEffect(), Inkscape::LivePathEffect::LPEBool::doBeforeEffect(), Inkscape::LivePathEffect::LPECloneOriginal::doBeforeEffect(), Inkscape::LivePathEffect::LPEFilletChamfer::doBeforeEffect(), Inkscape::LivePathEffect::LPEMeasureSegments::doBeforeEffect(), Inkscape::LivePathEffect::LPEMirrorSymmetry::doBeforeEffect(), Inkscape::LivePathEffect::LPEPowerMask::doBeforeEffect(), Inkscape::LivePathEffect::LPESlice::doBeforeEffect(), Inkscape::LivePathEffect::LPEBool::doEffect(), Inkscape::LivePathEffect::LPEFillBetweenMany::doEffect(), Inkscape::LivePathEffect::LPEOffset::doEffect_path(), Inkscape::LivePathEffect::LPERuler::doEffect_pwd2(), Inkscape::LivePathEffect::LPEFilletChamfer::doOnApply(), Inkscape::LivePathEffect::LPEMeasureSegments::doOnApply(), doOnBeforeCommit(), Inkscape::LivePathEffect::LPECopyRotate::doOnOpen(), Inkscape::LivePathEffect::LPEMirrorSymmetry::doOnOpen(), Inkscape::LivePathEffect::LPEBool::doOnRemove(), Inkscape::LivePathEffect::LPEPowerClip::doOnRemove(), Inkscape::LivePathEffect::LPEPowerMask::doOnRemove(), doOnRemove_impl(), Inkscape::LivePathEffect::LPEBool::dupleNode(), Inkscape::LivePathEffect::LPEBool::fractureit(), Inkscape::LivePathEffect::SatelliteParam::link(), Inkscape::LivePathEffect::LPETiling::LPETiling(), makeUndoDone(), Inkscape::LivePathEffect::SatelliteArrayParam::on_link_button_click(), Inkscape::LivePathEffect::SatelliteArrayParam::on_remove_button_click(), Inkscape::LivePathEffect::PointParam::param_newWidget(), Inkscape::LivePathEffect::BoolParam::param_newWidget(), Inkscape::LivePathEffect::ColorPickerParam::param_newWidget(), Inkscape::LivePathEffect::EnumParam< E >::param_newWidget(), Inkscape::LivePathEffect::EnumArrayParam::param_newWidget(), Inkscape::LivePathEffect::FontButtonParam::param_newWidget(), Inkscape::LivePathEffect::ScalarParam::param_newWidget(), Inkscape::LivePathEffect::RandomParam::param_newWidget(), Inkscape::LivePathEffect::ScalarArrayParam::param_newWidget(), Inkscape::LivePathEffect::TextParam::param_newWidget(), Inkscape::LivePathEffect::ToggleButtonParam::param_newWidget(), Inkscape::LivePathEffect::TransformedPointParam::param_newWidget(), Inkscape::LivePathEffect::UnitParam::param_newWidget(), Inkscape::LivePathEffect::VectorParam::param_newWidget(), Inkscape::LivePathEffect::PathArrayParam::param_readSVGValue(), Inkscape::LivePathEffect::SatelliteArrayParam::param_readSVGValue(), Inkscape::LivePathEffect::PathParam::param_readSVGValue(), Inkscape::LivePathEffect::SatelliteParam::param_readSVGValue(), Inkscape::LivePathEffect::LPEMeasureSegments::processObjects(), Inkscape::LivePathEffect::LPERuler::ruler_mark(), Inkscape::LivePathEffect::LPEPowerMask::setMask(), Inkscape::LivePathEffect::LPESlice::split(), Inkscape::LivePathEffect::LPECopyRotate::toItem(), Inkscape::LivePathEffect::LPETiling::toItem(), Inkscape::LivePathEffect::LPEMirrorSymmetry::toMirror(), Inkscape::LivePathEffect::LPEPowerMask::tryForkMask(), Inkscape::LivePathEffect::LPEPowerClip::upd(), and Inkscape::LivePathEffect::LPEFilletChamfer::updateAmount().
bool Inkscape::LivePathEffect::Effect::hasDefaultParameters | ( | ) |
Get LPE has defaults.
Definition at line 1860 of file effect.cpp.
References effectType(), Inkscape::Preferences::get(), Inkscape::Preferences::getEntry(), Inkscape::Preferences::Entry::isSet(), key, Inkscape::LivePathEffect::LPETypeConverter, Inkscape::LivePathEffect::Parameter::param_key, and param_vector.
bool Inkscape::LivePathEffect::Effect::isNodePointSelected | ( | Geom::Point const & | nodePoint | ) | const |
Definition at line 1258 of file effect.cpp.
References Geom::are_near(), SPItem::i2dt_affine(), selectedNodesPoints, sp_lpe_item, Geom::X, and Geom::Y.
Referenced by Inkscape::LivePathEffect::LPEFilletChamfer::doBeforeEffect(), Inkscape::LivePathEffect::LPEBSpline::doBSplineFromWidget(), Inkscape::LivePathEffect::LPEFilletChamfer::setSelected(), and Inkscape::LivePathEffect::NodeSatelliteArrayParam::updateAmmount().
bool Inkscape::LivePathEffect::Effect::isOnClipboard | ( | ) |
The lpe is on clipboard.
Definition at line 1248 of file effect.cpp.
References getLPEObj(), LivePathEffectObject::isOnClipboard(), and lpeobj.
Referenced by Inkscape::LivePathEffect::LPEBool::doBeforeEffect(), Inkscape::LivePathEffect::LPECloneOriginal::doBeforeEffect(), Inkscape::LivePathEffect::LPEMeasureSegments::doBeforeEffect(), Inkscape::LivePathEffect::PathParam::set_new_value(), Inkscape::LivePathEffect::LPEBool::transform_multiply(), Inkscape::LivePathEffect::LPEFillBetweenMany::transform_multiply_nested(), Inkscape::LivePathEffect::LPEFillBetweenStrokes::transform_multiply_nested(), and Inkscape::LivePathEffect::Parameter::update_satellites().
|
inline |
Definition at line 121 of file effect.h.
References is_ready.
Referenced by SPLPEItem::countLPEOfType(), doOnOpen_impl(), SPLPEItem::hasPathEffectOfType(), Inkscape::LivePathEffect::SatelliteParam::linked_modified(), Inkscape::LivePathEffect::SatelliteArrayParam::linked_modified(), Inkscape::LivePathEffect::PathArrayParam::linked_modified(), Inkscape::LivePathEffect::PathParam::linked_modified_callback(), SPLPEItem::performOnePathEffect(), and Inkscape::LivePathEffect::SatelliteArrayParam::updatesignal().
|
inline |
Definition at line 158 of file effect.h.
References is_visible.
Referenced by Inkscape::LivePathEffect::LPEPathLength::doEffect_pwd2(), doOnBeforeCommit(), Inkscape::LivePathEffect::LPEPowerClip::getClipPathvector(), SPLPEItem::performOnePathEffect(), Inkscape::LivePathEffect::LPEMeasureSegments::processObjects(), Inkscape::UI::Tools::sp_update_helperpath(), and SPGroup::update_patheffect().
void Inkscape::LivePathEffect::Effect::makeUndoDone | ( | Glib::ustring | message | ) |
Definition at line 1521 of file effect.cpp.
References Inkscape::DocumentUndo::done(), effectType(), getCurrrentLPEItems(), getSPDoc(), Inkscape::LivePathEffect::LPETypeConverter, refresh_widgets, setReady(), sp_lpe_item, and writeParamsToSVG().
Referenced by Inkscape::LivePathEffect::LPEMirrorSymmetry::centerHoriz(), Inkscape::LivePathEffect::LPESlice::centerHoriz(), Inkscape::LivePathEffect::LPEMirrorSymmetry::centerVert(), Inkscape::LivePathEffect::LPESlice::centerVert(), Inkscape::LivePathEffect::FilletChamferKnotHolderEntity::knot_ungrabbed(), Inkscape::LivePathEffect::PowerStrokePointArrayParamKnotHolderEntity::knot_ungrabbed(), LPEKnotHolderEntity::knot_ungrabbed(), Inkscape::LivePathEffect::SatelliteParam::link(), Inkscape::LivePathEffect::PathParam::linkitem(), Inkscape::LivePathEffect::SatelliteArrayParam::move_up_down(), Inkscape::LivePathEffect::SatelliteArrayParam::on_active_toggled(), Inkscape::LivePathEffect::PathArrayParam::on_down_button_click(), Inkscape::LivePathEffect::PathArrayParam::on_link_button_click(), Inkscape::LivePathEffect::SatelliteArrayParam::on_link_button_click(), Inkscape::LivePathEffect::PathParam::on_paste_button_click(), Inkscape::LivePathEffect::PathArrayParam::on_remove_button_click(), Inkscape::LivePathEffect::SatelliteArrayParam::on_remove_button_click(), Inkscape::LivePathEffect::PathArrayParam::on_reverse_toggled(), Inkscape::LivePathEffect::PathArrayParam::on_up_button_click(), Inkscape::LivePathEffect::PathArrayParam::on_visible_toggled(), Inkscape::LivePathEffect::LPEBSpline::toDefaultWeight(), Inkscape::LivePathEffect::LPEBSpline::toMakeCusp(), and Inkscape::LivePathEffect::LPEBSpline::toWeight().
|
static |
Definition at line 930 of file effect.cpp.
References Inkscape::LivePathEffect::ANGLE_BISECTOR, Inkscape::LivePathEffect::ATTACH_PATH, Inkscape::LivePathEffect::BEND_PATH, Inkscape::LivePathEffect::BOOL_OP, Inkscape::LivePathEffect::BOUNDING_BOX, Inkscape::LivePathEffect::BSPLINE, Inkscape::LivePathEffect::CIRCLE_3PTS, Inkscape::LivePathEffect::CIRCLE_WITH_RADIUS, Inkscape::LivePathEffect::CLONE_ORIGINAL, Inkscape::LivePathEffect::CONSTRUCT_GRID, Inkscape::LivePathEffect::COPY_ROTATE, Inkscape::LivePathEffect::CURVE_STITCH, Inkscape::LivePathEffect::DASHED_STROKE, Inkscape::LivePathEffect::DOEFFECTSTACK_TEST, Inkscape::LivePathEffect::DYNASTROKE, Inkscape::LivePathEffect::ELLIPSE_5PTS, Inkscape::LivePathEffect::EMBRODERY_STITCH, Inkscape::LivePathEffect::ENVELOPE, Inkscape::LivePathEffect::EXTRUDE, Inkscape::LivePathEffect::FILL_BETWEEN_MANY, Inkscape::LivePathEffect::FILL_BETWEEN_STROKES, Inkscape::LivePathEffect::FILLET_CHAMFER, Inkscape::LivePathEffect::GEARS, SPObject::getRepr(), Inkscape::LivePathEffect::INTERPOLATE, Inkscape::LivePathEffect::INTERPOLATE_POINTS, Inkscape::LivePathEffect::JOIN_TYPE, Inkscape::LivePathEffect::KNOT, Inkscape::LivePathEffect::LATTICE, Inkscape::LivePathEffect::LATTICE2, Inkscape::LivePathEffect::LINE_SEGMENT, LPEMeasureSegments, lpeobj, Inkscape::LivePathEffect::MEASURE_SEGMENTS, Inkscape::LivePathEffect::MIRROR_SYMMETRY, Inkscape::LivePathEffect::OFFSET, Inkscape::LivePathEffect::PARALLEL, Inkscape::LivePathEffect::PATH_LENGTH, Inkscape::LivePathEffect::PATTERN_ALONG_PATH, Inkscape::LivePathEffect::PERP_BISECTOR, Inkscape::LivePathEffect::PERSPECTIVE_ENVELOPE, Inkscape::LivePathEffect::POWERCLIP, Inkscape::LivePathEffect::POWERMASK, Inkscape::LivePathEffect::POWERSTROKE, Inkscape::LivePathEffect::PTS2ELLIPSE, readallParameters(), Inkscape::LivePathEffect::RECURSIVE_SKELETON, Inkscape::LivePathEffect::ROUGH_HATCHES, Inkscape::LivePathEffect::ROUGHEN, Inkscape::LivePathEffect::RULER, Inkscape::LivePathEffect::SHOW_HANDLES, Inkscape::LivePathEffect::SIMPLIFY, Inkscape::LivePathEffect::SKETCH, Inkscape::LivePathEffect::SLICE, Inkscape::LivePathEffect::SPIRO, Inkscape::LivePathEffect::TANGENT_TO_CURVE, Inkscape::LivePathEffect::TAPER_STROKE, Inkscape::LivePathEffect::TEXT_LABEL, Inkscape::LivePathEffect::TILING, Inkscape::LivePathEffect::TRANSFORM_2PTS, and Inkscape::LivePathEffect::VONKOCH.
Referenced by LivePathEffectObject::set().
|
virtual |
This creates a managed widget.
Deletion should be done by the eventual parent, or otherwise the caller.
Reimplemented in Inkscape::LivePathEffect::LPETiling, Inkscape::LivePathEffect::LPEBSpline, Inkscape::LivePathEffect::LPECloneOriginal, Inkscape::LivePathEffect::LPECopyRotate, Inkscape::LivePathEffect::LPEFilletChamfer, Inkscape::LivePathEffect::LPELattice2, Inkscape::LivePathEffect::LPEMeasureSegments, Inkscape::LivePathEffect::LPEMirrorSymmetry, Inkscape::LivePathEffect::LPEPerspectiveEnvelope, Inkscape::LivePathEffect::LPERoughen, Inkscape::LivePathEffect::LPESimplify, Inkscape::LivePathEffect::LPESketch, Inkscape::LivePathEffect::LPESlice, and Inkscape::LivePathEffect::LPETransform2Pts.
Definition at line 1790 of file effect.cpp.
References Inkscape::UI::pack_start(), Inkscape::LivePathEffect::Parameter::param_getTooltip(), Inkscape::LivePathEffect::Parameter::param_newWidget(), param_vector, and Inkscape::LivePathEffect::Parameter::widget_is_enabled.
Referenced by Inkscape::UI::Dialog::LivePathEffectEditor::showParams().
|
inlinevirtual |
Reimplemented in Inkscape::LivePathEffect::LPEBSpline, and Inkscape::LivePathEffect::LPESpiro.
Definition at line 137 of file effect.h.
References Inkscape::LivePathEffect::DEFAULT.
|
virtual |
Reimplemented in Inkscape::LivePathEffect::LPEMeasureSegments.
Definition at line 1416 of file effect.cpp.
References _lpe_action.
Referenced by Inkscape::LivePathEffect::LPESlice::doAfterEffect(), Inkscape::LivePathEffect::LPETiling::doBeforeEffect(), Inkscape::LivePathEffect::LPECopyRotate::doBeforeEffect(), Inkscape::LivePathEffect::LPEMirrorSymmetry::doBeforeEffect(), Inkscape::LivePathEffect::LPETiling::doOnRemove(), Inkscape::LivePathEffect::LPEBool::doOnRemove(), Inkscape::LivePathEffect::LPECopyRotate::doOnRemove(), Inkscape::LivePathEffect::LPEMirrorSymmetry::doOnRemove(), Inkscape::LivePathEffect::LPESlice::doOnRemove(), Inkscape::LivePathEffect::LPETiling::doOnVisibilityToggled(), Inkscape::LivePathEffect::LPECopyRotate::doOnVisibilityToggled(), Inkscape::LivePathEffect::LPEMirrorSymmetry::doOnVisibilityToggled(), Inkscape::LivePathEffect::SatelliteArrayParam::linked_modified(), Inkscape::LivePathEffect::SatelliteParam::linked_released(), and Inkscape::LivePathEffect::SatelliteArrayParam::updatesignal().
bool Inkscape::LivePathEffect::Effect::providesKnotholder | ( | ) | const |
Definition at line 2024 of file effect.cpp.
References _provides_knotholder_entities, and param_vector.
|
inline |
Definition at line 143 of file effect.h.
References provides_own_flash_paths, and show_orig_path.
void Inkscape::LivePathEffect::Effect::read_from_SVG | ( | ) |
Definition at line 1581 of file effect.cpp.
References param_vector.
void Inkscape::LivePathEffect::Effect::readallParameters | ( | Inkscape::XML::Node const * | repr | ) |
Definition at line 1662 of file effect.cpp.
References Inkscape::XML::Node::attribute(), effectType(), Inkscape::Preferences::get(), Inkscape::Preferences::getEntry(), Inkscape::Preferences::getString(), Inkscape::Preferences::Entry::isSet(), key, Inkscape::LivePathEffect::LPETypeConverter, Inkscape::LivePathEffect::Parameter::param_key, Inkscape::LivePathEffect::Parameter::param_readSVGValue(), Inkscape::LivePathEffect::Parameter::param_set_default(), Inkscape::LivePathEffect::Parameter::param_update_default(), and param_vector.
Referenced by New().
|
protected |
Definition at line 1710 of file effect.cpp.
References param_vector.
Referenced by Effect(), Inkscape::LivePathEffect::LPEAngleBisector::LPEAngleBisector(), Inkscape::LivePathEffect::LPEAttachPath::LPEAttachPath(), Inkscape::LivePathEffect::LPEBendPath::LPEBendPath(), Inkscape::LivePathEffect::LPEBool::LPEBool(), Inkscape::LivePathEffect::LPEBoundingBox::LPEBoundingBox(), Inkscape::LivePathEffect::LPEBSpline::LPEBSpline(), Inkscape::LivePathEffect::LPECloneOriginal::LPECloneOriginal(), Inkscape::LivePathEffect::LPEConstructGrid::LPEConstructGrid(), Inkscape::LivePathEffect::LPECopyRotate::LPECopyRotate(), Inkscape::LivePathEffect::LPECurveStitch::LPECurveStitch(), Inkscape::LivePathEffect::LPEDashedStroke::LPEDashedStroke(), Inkscape::LivePathEffect::LPEdoEffectStackTest::LPEdoEffectStackTest(), Inkscape::LivePathEffect::LPEDynastroke::LPEDynastroke(), Inkscape::LivePathEffect::LPEEmbroderyStitch::LPEEmbroderyStitch(), Inkscape::LivePathEffect::LPEEnvelope::LPEEnvelope(), Inkscape::LivePathEffect::LPEExtrude::LPEExtrude(), Inkscape::LivePathEffect::LPEFillBetweenMany::LPEFillBetweenMany(), Inkscape::LivePathEffect::LPEFillBetweenStrokes::LPEFillBetweenStrokes(), Inkscape::LivePathEffect::LPEFilletChamfer::LPEFilletChamfer(), Inkscape::LivePathEffect::LPEGears::LPEGears(), Inkscape::LivePathEffect::LPEInterpolate::LPEInterpolate(), Inkscape::LivePathEffect::LPEInterpolatePoints::LPEInterpolatePoints(), Inkscape::LivePathEffect::LPEJoinType::LPEJoinType(), Inkscape::LivePathEffect::LPEKnot::LPEKnot(), Inkscape::LivePathEffect::LPELattice::LPELattice(), Inkscape::LivePathEffect::LPELattice2::LPELattice2(), Inkscape::LivePathEffect::LPELineSegment::LPELineSegment(), Inkscape::LivePathEffect::LPEMeasureSegments::LPEMeasureSegments(), Inkscape::LivePathEffect::LPEMirrorSymmetry::LPEMirrorSymmetry(), Inkscape::LivePathEffect::LPEOffset::LPEOffset(), Inkscape::LivePathEffect::LPEParallel::LPEParallel(), Inkscape::LivePathEffect::LPEPathLength::LPEPathLength(), Inkscape::LivePathEffect::LPEPatternAlongPath::LPEPatternAlongPath(), Inkscape::LivePathEffect::LPEPerpBisector::LPEPerpBisector(), Inkscape::LivePathEffect::LPEPerspectiveEnvelope::LPEPerspectiveEnvelope(), Inkscape::LivePathEffect::LPEPowerClip::LPEPowerClip(), Inkscape::LivePathEffect::LPEPowerMask::LPEPowerMask(), Inkscape::LivePathEffect::LPEPowerStroke::LPEPowerStroke(), Inkscape::LivePathEffect::LPEPts2Ellipse::LPEPts2Ellipse(), Inkscape::LivePathEffect::LPERecursiveSkeleton::LPERecursiveSkeleton(), Inkscape::LivePathEffect::LPERoughen::LPERoughen(), Inkscape::LivePathEffect::LPERoughHatches::LPERoughHatches(), Inkscape::LivePathEffect::LPERuler::LPERuler(), Inkscape::LivePathEffect::LPEShowHandles::LPEShowHandles(), Inkscape::LivePathEffect::LPESimplify::LPESimplify(), Inkscape::LivePathEffect::LPESkeleton::LPESkeleton(), Inkscape::LivePathEffect::LPESlice::LPESlice(), Inkscape::LivePathEffect::LPETangentToCurve::LPETangentToCurve(), Inkscape::LivePathEffect::LPETaperStroke::LPETaperStroke(), Inkscape::LivePathEffect::LPETextLabel::LPETextLabel(), Inkscape::LivePathEffect::LPETiling::LPETiling(), Inkscape::LivePathEffect::LPETransform2Pts::LPETransform2Pts(), and Inkscape::LivePathEffect::LPEVonKoch::LPEVonKoch().
void Inkscape::LivePathEffect::Effect::resetDefaultParameters | ( | ) |
Reset this LPE defaults.
Definition at line 1889 of file effect.cpp.
References effectType(), key, Inkscape::LivePathEffect::LPETypeConverter, Inkscape::LivePathEffect::Parameter::param_getDefaultSVGValue(), Inkscape::LivePathEffect::Parameter::param_getSVGValue(), Inkscape::LivePathEffect::Parameter::param_key, param_vector, and unsetDefaultParam().
Referenced by Inkscape::UI::Dialog::LivePathEffectEditor::add_item_actions().
|
virtual |
Sets all parameters to their default values and writes them to SVG.
Reimplemented in Inkscape::LivePathEffect::LPETiling, Inkscape::LivePathEffect::LPEAttachPath, Inkscape::LivePathEffect::LPEBendPath, Inkscape::LivePathEffect::LPECopyRotate, Inkscape::LivePathEffect::LPECurveStitch, Inkscape::LivePathEffect::LPEEnvelope, Inkscape::LivePathEffect::LPEExtrude, Inkscape::LivePathEffect::LPEInterpolate, Inkscape::LivePathEffect::LPELattice, Inkscape::LivePathEffect::LPELattice2, Inkscape::LivePathEffect::LPEPerspectiveEnvelope, Inkscape::LivePathEffect::LPERoughHatches, and Inkscape::LivePathEffect::LPEVonKoch.
Definition at line 2014 of file effect.cpp.
References param_vector.
Referenced by SPLPEItem::addPathEffect(), Inkscape::LivePathEffect::LPETiling::resetDefaults(), Inkscape::LivePathEffect::LPEAttachPath::resetDefaults(), Inkscape::LivePathEffect::LPEBendPath::resetDefaults(), Inkscape::LivePathEffect::LPECopyRotate::resetDefaults(), Inkscape::LivePathEffect::LPECurveStitch::resetDefaults(), Inkscape::LivePathEffect::LPEEnvelope::resetDefaults(), Inkscape::LivePathEffect::LPEExtrude::resetDefaults(), Inkscape::LivePathEffect::LPEInterpolate::resetDefaults(), Inkscape::LivePathEffect::LPELattice::resetDefaults(), Inkscape::LivePathEffect::LPELattice2::resetDefaults(), Inkscape::LivePathEffect::LPEPerspectiveEnvelope::resetDefaults(), Inkscape::LivePathEffect::LPERoughHatches::resetDefaults(), and Inkscape::LivePathEffect::LPEVonKoch::resetDefaults().
|
inline |
Definition at line 113 of file effect.h.
References current_shape.
Referenced by SPLPEItem::performOnePathEffect().
void Inkscape::LivePathEffect::Effect::setCurrentZoom | ( | double | cZ | ) |
Definition at line 1209 of file effect.cpp.
References current_zoom.
Referenced by Inkscape::UI::Tools::sp_update_helperpath().
|
private |
Definition at line 1916 of file effect.cpp.
References Inkscape::Preferences::get(), Inkscape::LivePathEffect::Parameter::param_getDefaultSVGValue(), Inkscape::LivePathEffect::Parameter::param_getSVGValue(), and Inkscape::Preferences::setString().
Referenced by setDefaultParameters().
void Inkscape::LivePathEffect::Effect::setDefaultParameters | ( | ) |
Set this LPE defaults.
Definition at line 1829 of file effect.cpp.
References effectType(), key, Inkscape::LivePathEffect::LPETypeConverter, Inkscape::LivePathEffect::Parameter::param_getDefaultSVGValue(), Inkscape::LivePathEffect::Parameter::param_getSVGValue(), Inkscape::LivePathEffect::Parameter::param_key, param_vector, and setDefaultParam().
Referenced by Inkscape::UI::Dialog::LivePathEffectEditor::add_item_actions().
|
inline |
Definition at line 171 of file effect.h.
References _lpe_action.
void Inkscape::LivePathEffect::Effect::setParameter | ( | const gchar * | key, |
const gchar * | new_value | ||
) |
Definition at line 1693 of file effect.cpp.
References getParameter(), key, Inkscape::LivePathEffect::Parameter::param_readSVGValue(), and Inkscape::LivePathEffect::Parameter::param_set_default().
|
inline |
Definition at line 122 of file effect.h.
References is_ready, and ready.
Referenced by acceptParamPath(), doOnApply_impl(), doOnOpen_impl(), and makeUndoDone().
void Inkscape::LivePathEffect::Effect::setSelectedNodePoints | ( | std::vector< Geom::Point > | sNP | ) |
Definition at line 1240 of file effect.cpp.
References selectedNodesPoints.
Referenced by Inkscape::UI::Tools::sp_update_helperpath().
|
inline |
Definition at line 146 of file effect.h.
References show_orig_path.
|
privatevirtual |
Overridden function to apply transforms for example to powerstroke, jointtype or tapperstroke.
Reimplemented in Inkscape::LivePathEffect::LPEBendPath, Inkscape::LivePathEffect::LPEBool, Inkscape::LivePathEffect::LPEEnvelope, Inkscape::LivePathEffect::LPEInterpolate, Inkscape::LivePathEffect::LPEJoinType, Inkscape::LivePathEffect::LPEOffset, Inkscape::LivePathEffect::LPEPatternAlongPath, Inkscape::LivePathEffect::LPEPerspectiveEnvelope, Inkscape::LivePathEffect::LPEPowerStroke, Inkscape::LivePathEffect::LPETaperStroke, and Inkscape::LivePathEffect::LPETransform2Pts.
Definition at line 1217 of file effect.cpp.
Referenced by transform_multiply_impl().
void Inkscape::LivePathEffect::Effect::transform_multiply_impl | ( | Geom::Affine const & | postmul, |
SPLPEItem * | lpeitem | ||
) |
lpeitem | The item being transformed |
FIXME Probably only makes sense if this effect is referenced by exactly one item (this->lpeobj->hrefList
contains exactly one element)?
Definition at line 1227 of file effect.cpp.
References SPObject::hrefList, lpeobj, sp_lpe_item, and transform_multiply().
Referenced by SPLPEItem::notifyTransform().
|
private |
Definition at line 1924 of file effect.cpp.
References Inkscape::Preferences::get(), Inkscape::Preferences::getEntry(), Inkscape::Preferences::Entry::isSet(), Inkscape::LivePathEffect::Parameter::param_getDefaultSVGValue(), Inkscape::LivePathEffect::Parameter::param_getSVGValue(), and Inkscape::Preferences::remove().
Referenced by resetDefaultParameters().
void Inkscape::LivePathEffect::Effect::update_helperpath | ( | ) |
Call to a method on nodetool to update the helper path from the effect.
Definition at line 1776 of file effect.cpp.
References desktop, SPDesktop::getTool(), and Inkscape::UI::Tools::sp_update_helperpath().
Referenced by doBeforeEffect_impl(), and Inkscape::LivePathEffect::LPESimplify::doEffect().
void Inkscape::LivePathEffect::Effect::update_satellites | ( | ) |
Definition at line 1432 of file effect.cpp.
References param_vector.
Referenced by doAfterEffect(), doBeforeEffect_impl(), and doOnOpen().
void Inkscape::LivePathEffect::Effect::writeParamsToSVG | ( | ) |
Definition at line 1574 of file effect.cpp.
References param_vector.
Referenced by Inkscape::LivePathEffect::LPETiling::doBeforeEffect(), Inkscape::LivePathEffect::LPERoughen::doOnApply(), makeUndoDone(), Inkscape::LivePathEffect::LPETiling::setGapXMode(), Inkscape::LivePathEffect::LPETiling::setGapYMode(), Inkscape::LivePathEffect::LPETiling::setMirroring(), Inkscape::LivePathEffect::LPETiling::setRotateInterpolate(), Inkscape::LivePathEffect::LPETiling::setRotateRandom(), Inkscape::LivePathEffect::LPETiling::setScaleInterpolate(), Inkscape::LivePathEffect::LPETiling::setScaleRandom(), and LivePathEffectObject::write().
|
friend |
|
friend |
|
protected |
Definition at line 189 of file effect.h.
Referenced by adjustForNewPath(), Inkscape::LivePathEffect::LPEFilletChamfer::adjustForNewPath(), Inkscape::LivePathEffect::LPEPowerStroke::adjustForNewPath(), doAfterEffect_impl(), Inkscape::LivePathEffect::LPEFilletChamfer::doBeforeEffect(), and Inkscape::LivePathEffect::LPEPowerStroke::doEffect_path().
|
private |
Definition at line 209 of file effect.h.
Referenced by doOnBeforeCommit(), Inkscape::LivePathEffect::SatelliteArrayParam::linked_modified(), processObjects(), Inkscape::LivePathEffect::LPEMeasureSegments::processObjects(), setLPEAction(), and Inkscape::LivePathEffect::SatelliteArrayParam::updatesignal().
|
private |
Definition at line 233 of file effect.h.
Referenced by doBeforeEffect_impl().
|
protected |
Definition at line 207 of file effect.h.
Referenced by Inkscape::LivePathEffect::LPEAngleBisector::LPEAngleBisector(), Inkscape::LivePathEffect::LPEBendPath::LPEBendPath(), Inkscape::LivePathEffect::LPECopyRotate::LPECopyRotate(), Inkscape::LivePathEffect::LPEFilletChamfer::LPEFilletChamfer(), Inkscape::LivePathEffect::LPEKnot::LPEKnot(), Inkscape::LivePathEffect::LPEOffset::LPEOffset(), Inkscape::LivePathEffect::LPEParallel::LPEParallel(), Inkscape::LivePathEffect::LPEPatternAlongPath::LPEPatternAlongPath(), Inkscape::LivePathEffect::LPEPerpBisector::LPEPerpBisector(), Inkscape::LivePathEffect::LPETangentToCurve::LPETangentToCurve(), Inkscape::LivePathEffect::LPETaperStroke::LPETaperStroke(), Inkscape::LivePathEffect::LPETiling::LPETiling(), and providesKnotholder().
|
protected |
Definition at line 208 of file effect.h.
Referenced by doBeforeEffect_impl(), Inkscape::LivePathEffect::LPEFilletChamfer::LPEFilletChamfer(), and Inkscape::LivePathEffect::LPEPowerStroke::LPEPowerStroke().
bool Inkscape::LivePathEffect::Effect::apply_to_clippath_and_mask |
Definition at line 161 of file effect.h.
Referenced by SPLPEItem::applyToClipPath(), SPLPEItem::applyToMask(), SPLPEItem::hasPathEffectOnClipOrMask(), Inkscape::LivePathEffect::LPEBendPath::LPEBendPath(), Inkscape::LivePathEffect::LPECopyRotate::LPECopyRotate(), Inkscape::LivePathEffect::LPEEnvelope::LPEEnvelope(), Inkscape::LivePathEffect::LPELattice::LPELattice(), Inkscape::LivePathEffect::LPELattice2::LPELattice2(), Inkscape::LivePathEffect::LPEMirrorSymmetry::LPEMirrorSymmetry(), Inkscape::LivePathEffect::LPEOffset::LPEOffset(), Inkscape::LivePathEffect::LPEPerspectiveEnvelope::LPEPerspectiveEnvelope(), Inkscape::LivePathEffect::LPERoughen::LPERoughen(), Inkscape::LivePathEffect::LPESimplify::LPESimplify(), Inkscape::LivePathEffect::LPESlice::LPESlice(), Inkscape::LivePathEffect::LPETiling::LPETiling(), Inkscape::LivePathEffect::LPETransform2Pts::LPETransform2Pts(), Inkscape::LivePathEffect::LPEVonKoch::LPEVonKoch(), and SPLPEItem::performOnePathEffect().
|
protected |
Definition at line 215 of file effect.h.
Referenced by doEffect_path(), Inkscape::LivePathEffect::LPEBendPath::LPEBendPath(), Inkscape::LivePathEffect::LPEEnvelope::LPEEnvelope(), Inkscape::LivePathEffect::LPEExtrude::LPEExtrude(), Inkscape::LivePathEffect::LPERecursiveSkeleton::LPERecursiveSkeleton(), and Inkscape::LivePathEffect::LPERoughHatches::LPERoughHatches().
SPShape* Inkscape::LivePathEffect::Effect::current_shape |
Definition at line 178 of file effect.h.
Referenced by Inkscape::LivePathEffect::LPEBool::doEffect(), Inkscape::LivePathEffect::LPECloneOriginal::doEffect(), Inkscape::LivePathEffect::LPETiling::doEffect_path(), Inkscape::LivePathEffect::LPECopyRotate::doEffect_path(), Inkscape::LivePathEffect::LPEOffset::doEffect_path(), Inkscape::LivePathEffect::LPEShowHandles::doEffect_path(), getCurrentShape(), and setCurrentShape().
|
protected |
Definition at line 216 of file effect.h.
Referenced by Inkscape::LivePathEffect::LPEFilletChamfer::doBeforeEffect(), and setCurrentZoom().
|
private |
bool Inkscape::LivePathEffect::Effect::has_exception |
Definition at line 141 of file effect.h.
Referenced by doOnApply_impl(), doOnException(), and SPLPEItem::performOnePathEffect().
bool Inkscape::LivePathEffect::Effect::helperLineSatellites = false |
Definition at line 169 of file effect.h.
Referenced by Inkscape::LivePathEffect::LPEBool::doEffect(), and Inkscape::LivePathEffect::Parameter::param_higlight().
bool Inkscape::LivePathEffect::Effect::is_applied |
Definition at line 164 of file effect.h.
Referenced by Inkscape::LivePathEffect::LPESlice::doAfterEffect(), doAfterEffect_impl(), Inkscape::LivePathEffect::LPELattice2::doBeforeEffect(), Inkscape::LivePathEffect::LPEMeasureSegments::doBeforeEffect(), doOnApply_impl(), Inkscape::LivePathEffect::LPETiling::doOnOpen(), Inkscape::LivePathEffect::LPECopyRotate::doOnOpen(), Inkscape::LivePathEffect::LPEMirrorSymmetry::doOnOpen(), Inkscape::LivePathEffect::LPEAttachPath::doOnOpen(), Inkscape::LivePathEffect::LPEBendPath::doOnOpen(), Inkscape::LivePathEffect::LPEBool::doOnOpen(), Inkscape::LivePathEffect::LPEBoundingBox::doOnOpen(), Inkscape::LivePathEffect::LPECurveStitch::doOnOpen(), Inkscape::LivePathEffect::LPEEnvelope::doOnOpen(), Inkscape::LivePathEffect::LPEFillBetweenMany::doOnOpen(), Inkscape::LivePathEffect::LPEFillBetweenStrokes::doOnOpen(), Inkscape::LivePathEffect::LPEInterpolate::doOnOpen(), Inkscape::LivePathEffect::LPEMeasureSegments::doOnOpen(), Inkscape::LivePathEffect::LPEOffset::doOnOpen(), Inkscape::LivePathEffect::LPEPatternAlongPath::doOnOpen(), Inkscape::LivePathEffect::LPEVonKoch::doOnOpen(), Inkscape::LivePathEffect::SatelliteArrayParam::param_readSVGValue(), and Inkscape::LivePathEffect::SatelliteParam::param_readSVGValue().
bool Inkscape::LivePathEffect::Effect::is_load |
Definition at line 163 of file effect.h.
Referenced by addHandles(), Inkscape::LivePathEffect::LPEOffset::doAfterEffect(), Inkscape::LivePathEffect::LPETiling::doAfterEffect(), Inkscape::LivePathEffect::LPECopyRotate::doAfterEffect(), Inkscape::LivePathEffect::LPEMirrorSymmetry::doAfterEffect(), Inkscape::LivePathEffect::LPESlice::doAfterEffect(), doAfterEffect_impl(), Inkscape::LivePathEffect::LPETiling::doBeforeEffect(), Inkscape::LivePathEffect::LPEAttachPath::doBeforeEffect(), Inkscape::LivePathEffect::LPEBendPath::doBeforeEffect(), Inkscape::LivePathEffect::LPEBool::doBeforeEffect(), Inkscape::LivePathEffect::LPEBoundingBox::doBeforeEffect(), Inkscape::LivePathEffect::LPECloneOriginal::doBeforeEffect(), Inkscape::LivePathEffect::LPECopyRotate::doBeforeEffect(), Inkscape::LivePathEffect::LPEEnvelope::doBeforeEffect(), Inkscape::LivePathEffect::LPEFillBetweenMany::doBeforeEffect(), Inkscape::LivePathEffect::LPEFillBetweenStrokes::doBeforeEffect(), Inkscape::LivePathEffect::LPEFilletChamfer::doBeforeEffect(), Inkscape::LivePathEffect::LPEMeasureSegments::doBeforeEffect(), Inkscape::LivePathEffect::LPEOffset::doBeforeEffect(), Inkscape::LivePathEffect::LPEPatternAlongPath::doBeforeEffect(), Inkscape::LivePathEffect::LPETaperStroke::doBeforeEffect(), doBeforeEffect_impl(), Inkscape::LivePathEffect::LPEFillBetweenStrokes::doEffect(), Inkscape::LivePathEffect::LPECurveStitch::doEffect_path(), Inkscape::LivePathEffect::LPEInterpolate::doEffect_path(), Inkscape::LivePathEffect::LPEOffset::doEffect_path(), Inkscape::LivePathEffect::LPEVonKoch::doEffect_path(), Inkscape::LivePathEffect::LPERuler::doEffect_pwd2(), Inkscape::LivePathEffect::LPETiling::doOnOpen(), Inkscape::LivePathEffect::LPECopyRotate::doOnOpen(), Inkscape::LivePathEffect::LPEMirrorSymmetry::doOnOpen(), Inkscape::LivePathEffect::LPEAttachPath::doOnOpen(), Inkscape::LivePathEffect::LPEBendPath::doOnOpen(), Inkscape::LivePathEffect::LPEBool::doOnOpen(), Inkscape::LivePathEffect::LPEBoundingBox::doOnOpen(), Inkscape::LivePathEffect::LPECurveStitch::doOnOpen(), Inkscape::LivePathEffect::LPEEnvelope::doOnOpen(), Inkscape::LivePathEffect::LPEFillBetweenMany::doOnOpen(), Inkscape::LivePathEffect::LPEFillBetweenStrokes::doOnOpen(), Inkscape::LivePathEffect::LPEInterpolate::doOnOpen(), Inkscape::LivePathEffect::LPEMeasureSegments::doOnOpen(), Inkscape::LivePathEffect::LPEOffset::doOnOpen(), Inkscape::LivePathEffect::LPEPatternAlongPath::doOnOpen(), Inkscape::LivePathEffect::LPEVonKoch::doOnOpen(), doOnOpen_impl(), SPLPEItem::forkPathEffectsIfNecessary(), Inkscape::LivePathEffect::LPEPowerClip::getClipPathvector(), Inkscape::LivePathEffect::SatelliteParam::linked_modified(), Inkscape::LivePathEffect::SatelliteArrayParam::linked_modified(), Inkscape::LivePathEffect::PathArrayParam::linked_modified(), Inkscape::LivePathEffect::PathParam::linked_modified_callback(), SPLPEItem::notifyTransform(), Inkscape::LivePathEffect::SatelliteParam::on_link_button_click(), Inkscape::LivePathEffect::SatelliteArrayParam::param_readSVGValue(), Inkscape::LivePathEffect::LPESlice::split(), Inkscape::LivePathEffect::SatelliteParam::start_listening(), Inkscape::LivePathEffect::LPEMirrorSymmetry::toMirror(), and Inkscape::LivePathEffect::SatelliteArrayParam::updatesignal().
|
private |
Definition at line 234 of file effect.h.
Referenced by isReady(), and setReady().
BoolParam Inkscape::LivePathEffect::Effect::is_visible |
Definition at line 172 of file effect.h.
Referenced by SPLPEItem::countLPEOfType(), Inkscape::LivePathEffect::LPESlice::doAfterEffect(), Inkscape::LivePathEffect::LPEBool::doBeforeEffect(), Inkscape::LivePathEffect::LPEBool::doOnRemove(), Inkscape::LivePathEffect::LPETiling::doOnVisibilityToggled(), Inkscape::LivePathEffect::LPEBool::doOnVisibilityToggled(), Inkscape::LivePathEffect::LPESlice::doOnVisibilityToggled(), Effect(), isVisible(), Inkscape::LivePathEffect::Parameter::param_higlight(), Inkscape::LivePathEffect::LPEPowerMask::setMask(), Inkscape::LivePathEffect::LPEBool::transform_multiply(), Inkscape::LivePathEffect::LPEFillBetweenMany::transform_multiply_nested(), and Inkscape::LivePathEffect::LPEFillBetweenStrokes::transform_multiply_nested().
bool Inkscape::LivePathEffect::Effect::keep_paths |
Definition at line 162 of file effect.h.
Referenced by Inkscape::LivePathEffect::LPETiling::doOnRemove(), Inkscape::LivePathEffect::LPEBool::doOnRemove(), Inkscape::LivePathEffect::LPECopyRotate::doOnRemove(), Inkscape::LivePathEffect::LPEMeasureSegments::doOnRemove(), Inkscape::LivePathEffect::LPEMirrorSymmetry::doOnRemove(), Inkscape::LivePathEffect::LPEPowerClip::doOnRemove(), Inkscape::LivePathEffect::LPEPowerMask::doOnRemove(), Inkscape::LivePathEffect::LPESlice::doOnRemove(), Inkscape::LivePathEffect::LPEPowerStroke::doOnRemove(), Inkscape::LivePathEffect::LPECloneOriginal::getHolderRemove(), and SPLPEItem::removeAllPathEffects().
|
private |
Definition at line 220 of file effect.h.
Referenced by Inkscape::LivePathEffect::LPECloneOriginal::cloneAttributes(), Inkscape::LivePathEffect::LPEMeasureSegments::createArrowMarker(), Inkscape::LivePathEffect::LPEMeasureSegments::createLine(), Inkscape::LivePathEffect::LPEMeasureSegments::createTextLabel(), Inkscape::LivePathEffect::LPEMeasureSegments::doBeforeEffect(), Inkscape::LivePathEffect::LPEPowerMask::doOnApply(), Effect(), effectType(), getLPEObj(), getLPEObj(), getName(), getRepr(), getSPDoc(), isOnClipboard(), New(), and transform_multiply_impl().
HiddenParam Inkscape::LivePathEffect::Effect::lpeversion |
Definition at line 173 of file effect.h.
Referenced by Inkscape::LivePathEffect::LPESlice::doAfterEffect(), Inkscape::LivePathEffect::LPETiling::doBeforeEffect(), Inkscape::LivePathEffect::LPEFillBetweenMany::doBeforeEffect(), Inkscape::LivePathEffect::LPEFillBetweenStrokes::doBeforeEffect(), Inkscape::LivePathEffect::LPEMeasureSegments::doBeforeEffect(), Inkscape::LivePathEffect::LPERoughen::doBeforeEffect(), Inkscape::LivePathEffect::LPEBoundingBox::doEffect(), Inkscape::LivePathEffect::LPESimplify::doEffect(), Inkscape::LivePathEffect::LPEMirrorSymmetry::doEffect_path(), Inkscape::LivePathEffect::LPEPowerStroke::doEffect_path(), Inkscape::LivePathEffect::LPERuler::doEffect_pwd2(), Inkscape::LivePathEffect::LPETiling::doOnApply(), Inkscape::LivePathEffect::LPEBoundingBox::doOnApply(), Inkscape::LivePathEffect::LPEBSpline::doOnApply(), Inkscape::LivePathEffect::LPECopyRotate::doOnApply(), Inkscape::LivePathEffect::LPEFillBetweenMany::doOnApply(), Inkscape::LivePathEffect::LPEFillBetweenStrokes::doOnApply(), Inkscape::LivePathEffect::LPEMeasureSegments::doOnApply(), Inkscape::LivePathEffect::LPEMirrorSymmetry::doOnApply(), Inkscape::LivePathEffect::LPEOffset::doOnApply(), Inkscape::LivePathEffect::LPEPowerStroke::doOnApply(), Inkscape::LivePathEffect::LPERoughHatches::doOnApply(), Inkscape::LivePathEffect::LPERoughen::doOnApply(), Inkscape::LivePathEffect::LPERuler::doOnApply(), Inkscape::LivePathEffect::LPESimplify::doOnApply(), Inkscape::LivePathEffect::LPESlice::doOnApply(), doOnApply_impl(), Inkscape::LivePathEffect::LPECopyRotate::doOnOpen(), Inkscape::LivePathEffect::LPEMirrorSymmetry::doOnOpen(), Inkscape::LivePathEffect::LPEBool::doOnOpen(), Inkscape::LivePathEffect::LPEOffset::doOnOpen(), Inkscape::LivePathEffect::LPESlice::doOnOpen(), Effect(), Inkscape::LivePathEffect::LPERoughen::jitter(), Inkscape::LivePathEffect::RandomParam::param_set_value(), SPLPEItem::performOnePathEffect(), Inkscape::LivePathEffect::LPESimplify::setVersioningData(), Inkscape::LivePathEffect::LPERoughen::sign(), and sp_group_perform_patheffect().
bool Inkscape::LivePathEffect::Effect::on_remove_all |
Definition at line 165 of file effect.h.
Referenced by Inkscape::LivePathEffect::LPECloneOriginal::getHolderRemove(), Inkscape::LivePathEffect::LPESlice::LPESlice(), and SPLPEItem::removeAllPathEffects().
|
protected |
Definition at line 210 of file effect.h.
Referenced by getNextOncanvasEditableParam().
std::vector<Parameter *> Inkscape::LivePathEffect::Effect::param_vector |
Definition at line 179 of file effect.h.
Referenced by addHandles(), Inkscape::LivePathEffect::LPERoughen::doOnApply(), doOnBeforeCommit(), effect_get_satellites(), find_references(), getCanvasIndicators(), getNextOncanvasEditableParam(), getParameter(), hasDefaultParameters(), newWidget(), Inkscape::LivePathEffect::LPETiling::newWidget(), Inkscape::LivePathEffect::LPEBSpline::newWidget(), Inkscape::LivePathEffect::LPECloneOriginal::newWidget(), Inkscape::LivePathEffect::LPECopyRotate::newWidget(), Inkscape::LivePathEffect::LPEFilletChamfer::newWidget(), Inkscape::LivePathEffect::LPELattice2::newWidget(), Inkscape::LivePathEffect::LPEMeasureSegments::newWidget(), Inkscape::LivePathEffect::LPEMirrorSymmetry::newWidget(), Inkscape::LivePathEffect::LPEPerspectiveEnvelope::newWidget(), Inkscape::LivePathEffect::LPERoughen::newWidget(), Inkscape::LivePathEffect::LPESimplify::newWidget(), Inkscape::LivePathEffect::LPESlice::newWidget(), Inkscape::LivePathEffect::LPETransform2Pts::newWidget(), providesKnotholder(), read_from_SVG(), readallParameters(), registerParameter(), resetDefaultParameters(), resetDefaults(), setDefaultParameters(), update_satellites(), and writeParamsToSVG().
Geom::PathVector Inkscape::LivePathEffect::Effect::pathvector_after_effect |
Definition at line 175 of file effect.h.
Referenced by Inkscape::LivePathEffect::LPEPowerStroke::doAfterEffect(), Inkscape::LivePathEffect::LPEFilletChamfer::doEffect_path(), doOnException(), SPLPEItem::performOnePathEffect(), and sp_group_perform_patheffect().
Geom::PathVector Inkscape::LivePathEffect::Effect::pathvector_before_effect |
Definition at line 174 of file effect.h.
Referenced by Inkscape::LivePathEffect::LPEPowerStroke::doAfterEffect(), Inkscape::LivePathEffect::LPEFilletChamfer::doBeforeEffect(), Inkscape::LivePathEffect::LPETaperStroke::doBeforeEffect(), doBeforeEffect_impl(), doOnException(), SPLPEItem::performOnePathEffect(), and sp_group_perform_patheffect().
|
private |
Definition at line 231 of file effect.h.
Referenced by providesOwnFlashPaths().
bool Inkscape::LivePathEffect::Effect::refresh_widgets |
Definition at line 166 of file effect.h.
Referenced by Inkscape::LivePathEffect::EnumParam< E >::_on_change_combo(), Inkscape::LivePathEffect::LPEMeasureSegments::doBeforeEffect(), Inkscape::LivePathEffect::LPETaperStroke::doBeforeEffect(), makeUndoDone(), Inkscape::LivePathEffect::PointParam::on_value_changed(), Inkscape::LivePathEffect::RandomParam::on_value_changed(), Inkscape::UI::Dialog::LivePathEffectEditor::onAdd(), Inkscape::LivePathEffect::ScalarArrayParam::param_set_range(), Inkscape::LivePathEffect::UnitParam::param_set_value(), Inkscape::LivePathEffect::EnumArrayParam::param_setActive(), Inkscape::LivePathEffect::ScalarArrayParam::param_setActive(), Inkscape::LivePathEffect::BoolParam::param_setValue(), Inkscape::LivePathEffect::ToggleButtonParam::param_setValue(), Inkscape::LivePathEffect::MessageParam::param_setValue(), Inkscape::LivePathEffect::FontButtonParam::param_setValue(), Inkscape::LivePathEffect::TextParam::param_setValue(), Inkscape::LivePathEffect::PathArrayParam::PathArrayParam(), SPLPEItem::performOnePathEffect(), Inkscape::LivePathEffect::LPETransform2Pts::reset(), Inkscape::UI::Dialog::LivePathEffectEditor::showParams(), Inkscape::LivePathEffect::LPECloneOriginal::syncOriginal(), Inkscape::LivePathEffect::LPEOffset::transform_multiply(), and Inkscape::LivePathEffect::LPETransform2Pts::updateIndex().
bool Inkscape::LivePathEffect::Effect::satellitestoclipboard = false |
Definition at line 168 of file effect.h.
Referenced by effect_get_satellites(), Inkscape::LivePathEffect::LPEBool::LPEBool(), Inkscape::LivePathEffect::LPEMirrorSymmetry::LPEMirrorSymmetry(), and Inkscape::LivePathEffect::LPESlice::LPESlice().
|
protected |
Definition at line 217 of file effect.h.
Referenced by isNodePointSelected(), and setSelectedNodePoints().
|
protected |
Definition at line 211 of file effect.h.
Referenced by Inkscape::LivePathEffect::LPEAngleBisector::LPEAngleBisector(), Inkscape::LivePathEffect::LPEAttachPath::LPEAttachPath(), Inkscape::LivePathEffect::LPEBool::LPEBool(), Inkscape::LivePathEffect::LPECopyRotate::LPECopyRotate(), Inkscape::LivePathEffect::LPEDynastroke::LPEDynastroke(), Inkscape::LivePathEffect::LPEExtrude::LPEExtrude(), Inkscape::LivePathEffect::LPEInterpolate::LPEInterpolate(), Inkscape::LivePathEffect::LPEInterpolatePoints::LPEInterpolatePoints(), Inkscape::LivePathEffect::LPEJoinType::LPEJoinType(), Inkscape::LivePathEffect::LPEMirrorSymmetry::LPEMirrorSymmetry(), Inkscape::LivePathEffect::LPEOffset::LPEOffset(), Inkscape::LivePathEffect::LPEParallel::LPEParallel(), Inkscape::LivePathEffect::LPEPerpBisector::LPEPerpBisector(), Inkscape::LivePathEffect::LPEPowerStroke::LPEPowerStroke(), Inkscape::LivePathEffect::LPEPts2Ellipse::LPEPts2Ellipse(), Inkscape::LivePathEffect::LPERecursiveSkeleton::LPERecursiveSkeleton(), Inkscape::LivePathEffect::LPERoughHatches::LPERoughHatches(), Inkscape::LivePathEffect::LPESlice::LPESlice(), Inkscape::LivePathEffect::LPETangentToCurve::LPETangentToCurve(), Inkscape::LivePathEffect::LPETaperStroke::LPETaperStroke(), Inkscape::LivePathEffect::LPETiling::LPETiling(), providesOwnFlashPaths(), and showOrigPath().
SPLPEItem* Inkscape::LivePathEffect::Effect::sp_lpe_item = nullptr |
Definition at line 176 of file effect.h.
Referenced by Inkscape::LivePathEffect::LPEPowerClip::add(), Inkscape::LivePathEffect::LPEMirrorSymmetry::centerHoriz(), Inkscape::LivePathEffect::LPESlice::centerHoriz(), Inkscape::LivePathEffect::LPEMirrorSymmetry::centerVert(), Inkscape::LivePathEffect::LPESlice::centerVert(), Inkscape::LivePathEffect::LPEBSpline::changeWeight(), Inkscape::LivePathEffect::LPECloneOriginal::cloneAttributes(), Inkscape::LivePathEffect::LPESlice::cloneD(), Inkscape::LivePathEffect::LPEMeasureSegments::createArrowMarker(), Inkscape::LivePathEffect::LPEMeasureSegments::createLine(), Inkscape::LivePathEffect::LPEMeasureSegments::createTextLabel(), Inkscape::LivePathEffect::LPEBool::divisionit(), Inkscape::LivePathEffect::LPEOffset::doAfterEffect(), Inkscape::LivePathEffect::LPETiling::doAfterEffect(), Inkscape::LivePathEffect::LPECopyRotate::doAfterEffect(), Inkscape::LivePathEffect::LPEMirrorSymmetry::doAfterEffect(), Inkscape::LivePathEffect::LPEPowerStroke::doAfterEffect(), Inkscape::LivePathEffect::LPESlice::doAfterEffect(), Inkscape::LivePathEffect::LPETiling::doBeforeEffect(), Inkscape::LivePathEffect::LPEBool::doBeforeEffect(), Inkscape::LivePathEffect::LPECloneOriginal::doBeforeEffect(), Inkscape::LivePathEffect::LPEFillBetweenMany::doBeforeEffect(), Inkscape::LivePathEffect::LPEFillBetweenStrokes::doBeforeEffect(), Inkscape::LivePathEffect::LPEMeasureSegments::doBeforeEffect(), Inkscape::LivePathEffect::LPEMirrorSymmetry::doBeforeEffect(), Inkscape::LivePathEffect::LPEOffset::doBeforeEffect(), Inkscape::LivePathEffect::LPEPowerMask::doBeforeEffect(), Inkscape::LivePathEffect::LPESlice::doBeforeEffect(), doBeforeEffect_impl(), Inkscape::LivePathEffect::LPEAttachPath::doEffect(), Inkscape::LivePathEffect::LPEBool::doEffect(), Inkscape::LivePathEffect::LPEBoundingBox::doEffect(), Inkscape::LivePathEffect::LPEFillBetweenMany::doEffect(), Inkscape::LivePathEffect::LPEFillBetweenStrokes::doEffect(), Inkscape::LivePathEffect::LPESimplify::doEffect(), Inkscape::LivePathEffect::LPECopyRotate::doEffect_path(), Inkscape::LivePathEffect::LPEOffset::doEffect_path(), Inkscape::LivePathEffect::LPESlice::doOnApply(), doOnApply_impl(), doOnBeforeCommit(), Inkscape::LivePathEffect::LPEFillBetweenMany::doOnOpen(), Inkscape::LivePathEffect::LPEFillBetweenStrokes::doOnOpen(), Inkscape::LivePathEffect::LPEBool::doOnRemove(), Inkscape::LivePathEffect::LPECloneOriginal::doOnRemove(), Inkscape::LivePathEffect::LPEPowerClip::doOnRemove(), doOnRemove_impl(), SPLPEItem::forkPathEffectsIfNecessary(), Inkscape::LivePathEffect::LPEBool::fractureit(), Inkscape::LivePathEffect::PathParam::get_relative_affine(), Inkscape::LivePathEffect::LPEPowerClip::getClipPathvector(), Inkscape::LivePathEffect::LPECloneOriginal::getHolderRemove(), Inkscape::LivePathEffect::LPESlice::getSplitLines(), isNodePointSelected(), makeUndoDone(), Inkscape::LivePathEffect::LPEOffset::modified(), Inkscape::LivePathEffect::LPEMeasureSegments::processObjects(), Inkscape::LivePathEffect::LPESlice::resetStyles(), Inkscape::LivePathEffect::LPEPowerMask::setMask(), Inkscape::LivePathEffect::LPEFilletChamfer::setSelected(), Inkscape::LivePathEffect::LPESlice::split(), Inkscape::LivePathEffect::LPESlice::splititem(), Inkscape::LivePathEffect::LPECloneOriginal::syncOriginal(), Inkscape::LivePathEffect::LPEBSpline::toDefaultWeight(), Inkscape::LivePathEffect::LPECopyRotate::toItem(), Inkscape::LivePathEffect::LPETiling::toItem(), Inkscape::LivePathEffect::LPEBSpline::toMakeCusp(), Inkscape::LivePathEffect::LPEMirrorSymmetry::toMirror(), Inkscape::LivePathEffect::LPEBSpline::toWeight(), Inkscape::LivePathEffect::LPEBendPath::transform_multiply(), Inkscape::LivePathEffect::LPEBool::transform_multiply(), Inkscape::LivePathEffect::LPEEnvelope::transform_multiply(), Inkscape::LivePathEffect::LPEInterpolate::transform_multiply(), Inkscape::LivePathEffect::LPEOffset::transform_multiply(), Inkscape::LivePathEffect::LPEPatternAlongPath::transform_multiply(), Inkscape::LivePathEffect::LPEPerspectiveEnvelope::transform_multiply(), Inkscape::LivePathEffect::LPEPowerStroke::transform_multiply(), Inkscape::LivePathEffect::LPETaperStroke::transform_multiply(), Inkscape::LivePathEffect::LPETransform2Pts::transform_multiply(), transform_multiply_impl(), Inkscape::LivePathEffect::LPEFillBetweenMany::transform_multiply_nested(), Inkscape::LivePathEffect::LPEFillBetweenStrokes::transform_multiply_nested(), Inkscape::LivePathEffect::LPEPowerMask::tryForkMask(), Inkscape::LivePathEffect::LPEPowerClip::upd(), Inkscape::LivePathEffect::LPEFilletChamfer::updateAmount(), and Inkscape::LivePathEffect::LPETransform2Pts::updateIndex().
gint Inkscape::LivePathEffect::Effect::spinbutton_width_chars = 7 |
Definition at line 170 of file effect.h.
Referenced by Inkscape::LivePathEffect::LPESimplify::LPESimplify(), and Inkscape::UI::Dialog::LivePathEffectEditor::showParams().
|
protected |