Searched defs:lpe (Results 1 - 23 of 23) sorted by relevance

/inkscape/src/live_effects/
H A Dlpeobject.h41 Inkscape::LivePathEffect::Effect * get_lpe() { return lpe; };
42 Inkscape::LivePathEffect::Effect const * get_lpe() const { return lpe; };
44 Inkscape::LivePathEffect::Effect *lpe; // this can be NULL in a valid LivePathEffectObject member in class:LivePathEffectObject
H A Dlpe-angle_bisector.cpp13 #include "live_effects/lpe-angle_bisector.h"
18 #include "sp-lpe-item.h"
102 LPEAngleBisector *lpe = dynamic_cast<LPEAngleBisector *>(_effect); local
106 double lambda = Geom::nearest_time(s, lpe->ptA, lpe->dir);
107 lpe->length_left.param_set_value(-lambda);
115 LPEAngleBisector *lpe = dynamic_cast<LPEAngleBisector *>(_effect); local
119 double lambda = Geom::nearest_time(s, lpe->ptA, lpe->dir);
120 lpe
128 LPEAngleBisector const* lpe = dynamic_cast<LPEAngleBisector const*>(_effect); local
135 LPEAngleBisector const* lpe = dynamic_cast<LPEAngleBisector const*>(_effect); local
[all...]
H A Dlpe-parallel.cpp16 #include "live_effects/lpe-parallel.h"
121 LPEParallel *lpe = dynamic_cast<LPEParallel *>(_effect);
125 double lambda = L2(s - lpe->offset_pt) * sgn(dot(s - lpe->offset_pt, lpe->dir));
126 lpe->length_left.param_set_value(-lambda);
136 LPEParallel *lpe = dynamic_cast<LPEParallel *>(_effect);
140 double lambda = L2(s - lpe->offset_pt) * sgn(dot(s - lpe->offset_pt, lpe
149 LPEParallel const *lpe = dynamic_cast<LPEParallel const*>(_effect); local
156 LPEParallel const *lpe = dynamic_cast<LPEParallel const*>(_effect); local
[all...]
H A Dlpe-perp_bisector.cpp17 #include "live_effects/lpe-perp_bisector.h"
21 #include "sp-lpe-item.h"
53 LPEPerpBisector const* lpe = dynamic_cast<LPEPerpBisector const*>(_effect); local
54 return Geom::Point(lpe->C);
59 LPEPerpBisector const* lpe = dynamic_cast<LPEPerpBisector const*>(_effect); local
60 return Geom::Point(lpe->D);
65 LPEPerpBisector *lpe = dynamic_cast<LPEPerpBisector *>(_effect); local
66 if (!lpe) return;
70 double lambda = Geom::nearest_time(s, lpe->M, lpe
[all...]
H A Dlpe-tangent_to_curve.cpp18 #include "live_effects/lpe-tangent_to_curve.h"
127 LPETangentToCurve* lpe = dynamic_cast<LPETangentToCurve *>(_effect);
131 if ( !SP_IS_SHAPE(lpe->sp_lpe_item) ) {
132 //lpe->t_attach.param_set_value(0);
136 Piecewise<D2<SBasis> > pwd2 = paths_to_pw( lpe->pathvector_before_effect );
139 lpe->t_attach.param_set_value(t0);
148 LPETangentToCurve *lpe = dynamic_cast<LPETangentToCurve *>(_effect); local
152 double lambda = Geom::nearest_time(s, lpe->ptA, lpe->derivA);
153 lpe
161 LPETangentToCurve *lpe = dynamic_cast<LPETangentToCurve *>(_effect); local
174 LPETangentToCurve const *lpe = dynamic_cast<LPETangentToCurve const*>(_effect); local
181 LPETangentToCurve const *lpe = dynamic_cast<LPETangentToCurve const*>(_effect); local
188 LPETangentToCurve const *lpe = dynamic_cast<LPETangentToCurve const*>(_effect); local
[all...]
H A Dlpe-bendpath.cpp8 #include "live_effects/lpe-bendpath.h"
187 LPEBendPath *lpe = dynamic_cast<LPEBendPath *> (_effect); local
190 Geom::Path path_in = lpe->bend_path.get_pathvector().pathAt(Geom::PathVectorTime(0, 0, 0.0));
203 lpe->prop_scale.param_set_value(-Geom::distance(s , ptA)/(lpe->original_height/2.0));
205 lpe->prop_scale.param_set_value(Geom::distance(s , ptA)/(lpe->original_height/2.0));
214 LPEBendPath *lpe = dynamic_cast<LPEBendPath *> (_effect); local
216 Geom::Path path_in = lpe->bend_path.get_pathvector().pathAt(Geom::PathVectorTime(0, 0, 0.0));
226 Geom::Point result_point = Geom::Point::polar(ray.angle(), (lpe
[all...]
H A Dlpe-perspective_path.cpp20 #include "live_effects/lpe-perspective_path.h"
264 LPEPerspectivePath* lpe = dynamic_cast<LPEPerspectivePath *>(_effect);
268 lpe->offsetx.param_set_value((s - origin)[Geom::X]);
269 lpe->offsety.param_set_value(-(s - origin)[Geom::Y]); // additional minus sign is due to coordinate system flipping
278 LPEPerspectivePath const *lpe = dynamic_cast<LPEPerspectivePath const*>(_effect); local
279 return lpe->orig + Geom::Point(lpe->offsetx, -lpe->offsety);
H A Dlpe-copy_rotate.cpp18 #include "live_effects/lpe-copy_rotate.h"
448 LPECopyRotate* lpe = dynamic_cast<LPECopyRotate *>(_effect); local
454 lpe->starting_angle.param_set_value(deg_from_rad(-angle_between(lpe->dir, s - lpe->origin)));
456 lpe->dist_angle_handle = L2(lpe->B - lpe->A);
458 lpe->dist_angle_handle = L2(p - lpe
468 LPECopyRotate* lpe = dynamic_cast<LPECopyRotate *>(_effect); local
488 LPECopyRotate const *lpe = dynamic_cast<LPECopyRotate const*>(_effect); local
495 LPECopyRotate const *lpe = dynamic_cast<LPECopyRotate const*>(_effect); local
[all...]
H A Dlpe-mirror_symmetry.cpp19 #include "live_effects/lpe-mirror_symmetry.h"
347 LPEMirrorSymmetry* lpe = dynamic_cast<LPEMirrorSymmetry *>(_effect); local
349 lpe->center_point = s;
358 LPEMirrorSymmetry const *lpe = dynamic_cast<LPEMirrorSymmetry const*>(_effect); local
359 return lpe->center_point;
H A Dlpe-patternalongpath.cpp7 #include "live_effects/lpe-patternalongpath.h"
294 LPEPatternAlongPath *lpe = dynamic_cast<LPEPatternAlongPath *> (_effect); local
312 lpe->prop_scale.param_set_value(-Geom::distance(s , ptA)/(lpe->original_height/2.0));
314 lpe->prop_scale.param_set_value(Geom::distance(s , ptA)/(lpe->original_height/2.0));
324 LPEPatternAlongPath *lpe = dynamic_cast<LPEPatternAlongPath *> (_effect); local
338 Geom::Point result_point = Geom::Point::polar(ray.angle(), (lpe->original_height/2.0) * lpe->prop_scale) + ptA;
H A Dlpe-knot.cpp18 #include "live_effects/lpe-knot.h"
411 if (i0 == gpaths.size() ) {THROW_EXCEPTION("lpe-knot error: group member not recognized");}// this should not happen...
634 LPEKnot* lpe = dynamic_cast<LPEKnot *>(_effect); local
636 lpe->selectedCrossing = idx_of_nearest(lpe->crossing_points,p);
637 lpe->updateSwitcher();
645 LPEKnot const *lpe = dynamic_cast<LPEKnot const*>(_effect); local
646 return lpe->switcher;
652 LPEKnot* lpe = dynamic_cast<LPEKnot *>(_effect); local
653 unsigned s = lpe
[all...]
H A Dlpe-taperstroke.cpp14 #include "live_effects/lpe-taperstroke.h"
461 LPETaperStroke* lpe = dynamic_cast<LPETaperStroke *>(_effect);
465 if (!SP_IS_SHAPE(lpe->sp_lpe_item)) {
471 if (!(curve = SP_SHAPE(lpe->sp_lpe_item)->getCurve())) {
478 Geom::PathVector pathv = lpe->pathvector_before_effect;
485 lpe->attach_start.param_set_value(t0);
494 LPETaperStroke* lpe = dynamic_cast<LPETaperStroke *>(_effect);
498 if (!SP_IS_SHAPE(lpe->sp_lpe_item) ) {
504 if ( !(curve = SP_SHAPE(lpe->sp_lpe_item)->getCurve()) ) {
508 Geom::PathVector pathv = lpe
520 LPETaperStroke const * lpe = dynamic_cast<LPETaperStroke const*> (_effect); local
526 LPETaperStroke const * lpe = dynamic_cast<LPETaperStroke const*> (_effect); local
[all...]
/inkscape/src/
H A Dknotholder.cpp227 Inkscape::LivePathEffect::Effect *lpe = lpeItem->getCurrentLPE(); local
228 if (lpe) {
229 LivePathEffectObject *lpeobj = lpe->getLPEObj();
H A Dsp-lpe-item.cpp24 #include "live_effects/lpe-path_length.h"
33 #include "sp-lpe-item.h"
231 Inkscape::LivePathEffect::Effect *lpe = lpeobj->get_lpe(); local
232 if (!lpe) {
236 g_warning("SPLPEItem::performPathEffect - lpeobj with invalid lpe in the stack!");
239 if (lpe->isVisible()) {
240 if (lpe->acceptsNumClicks() > 0 && !lpe->isReady()) {
245 if (!is_clip_or_mask || (is_clip_or_mask && lpe->apply_to_clippath_and_mask)) {
248 lpe
301 Inkscape::LivePathEffect::Effect *lpe = (*i)->lpeobject->get_lpe(); local
451 Inkscape::LivePathEffect::Effect *lpe = lpeobj->get_lpe(); local
621 Inkscape::LivePathEffect::Effect const* lpe = lpeobj->get_lpe(); member in class:Inkscape::LivePathEffect
737 Inkscape::LivePathEffect::Effect* lpe = lpeobj->get_lpe(); local
753 Inkscape::LivePathEffect::Effect const *lpe = lpeobj->get_lpe(); member in class:Inkscape::LivePathEffect
[all...]
H A Dselection-chemistry.cpp106 #include "sp-lpe-item.h"
2797 Inkscape::LivePathEffect::Effect* lpe = lpeItem->getPathEffectOfType(Inkscape::LivePathEffect::CLONE_ORIGINAL); local
2798 if (lpe) {
2799 Inkscape::LivePathEffect::Parameter *lpeparam = lpe->getParameter("linkedpath");
/inkscape/src/ui/dialog/
H A Dlivepatheffect-editor.cpp39 #include "sp-lpe-item.h"
292 Inkscape::LivePathEffect::Effect *lpe = lpeitem->getCurrentLPE(); local
293 if (lpe) {
294 showParams(*lpe);
296 selectInList(lpe);
/inkscape/src/widgets/
H A Dlpe-toolbar.cpp31 #include "live_effects/lpe-line_segment.h"
32 #include "lpe-toolbar.h"
45 #include "ui/tools/lpe-tool.h"
62 // the subtools from which the toolbar is built automatically are listed in lpe-tool-context.h
128 Effect* lpe = lpeitem->getCurrentLPE(); local
129 if (lpe && lpe->effectType() == LINE_SEGMENT) {
130 LPELineSegment *lpels = static_cast<LPELineSegment*>(lpe);
131 g_object_set_data(tbl, "currentlpe", lpe);
257 LPELineSegment *lpe local
[all...]
H A Dpencil-toolbar.cpp50 #include "live_effects/lpe-simplify.h"
51 #include "live_effects/lpe-powerstroke.h"
55 #include "sp-lpe-item.h"
252 Inkscape::LivePathEffect::Effect *lpe = lpeobj->get_lpe(); local
253 if (dynamic_cast<Inkscape::LivePathEffect::LPESimplify *>(lpe)) {
257 lpe->doEffect(c);
/inkscape/src/ui/tools/
H A Dlpe-tool.cpp42 #include "ui/tools/lpe-tool.h"
283 Inkscape::LivePathEffect::Effect* lpe = SP_LPE_ITEM(item)->getCurrentLPE(); local
284 if (!lpe) {
287 return lpetool_mode_to_index(lpe->effectType());
H A Dnode-tool.cpp298 Inkscape::LivePathEffect::Effect *lpe = SP_LPE_ITEM(selection->singleItem())->getCurrentLPE(); local
299 if (lpe && lpe->isVisible()/* && lpe->showOrigPath()*/) {
308 lpe->setSelectedNodePoints(selectedNodesPositions);
309 lpe->setCurrentZoom(this->desktop->current_zoom());
312 std::vector<Geom::PathVector> cs = lpe->getCanvasIndicators(SP_LPE_ITEM(selection->singleItem()));
H A Dfreehand-base.cpp23 #include "live_effects/lpe-bendpath.h"
24 #include "live_effects/lpe-patternalongpath.h"
25 #include "live_effects/lpe-simplify.h"
39 #include "ui/tools/lpe-tool.h"
48 #include "live_effects/lpe-powerstroke.h"
227 Effect* lpe = SP_LPE_ITEM(item)->getCurrentLPE(); local
228 static_cast<LPEPatternAlongPath*>(lpe)->pattern.set_new_value(newpath,true);
236 Effect* lpe = SP_LPE_ITEM(item)->getCurrentLPE(); local
237 static_cast<LPEPowerStroke*>(lpe)->offset_points.param_set_and_write_new_value(points);
264 lpe
283 Effect* lpe = SP_LPE_ITEM(item)->getCurrentLPE(); local
297 Effect* lpe = SP_LPE_ITEM(item)->getCurrentLPE(); local
[all...]
/inkscape/src/ui/
H A Dobject-edit.cpp65 SPLPEItem *lpe = dynamic_cast<SPLPEItem *>(item); local
66 if (lpe &&
67 lpe->getCurrentLPE() &&
68 lpe->getCurrentLPE()->isVisible() &&
69 lpe->getCurrentLPE()->providesKnotholder()) {
70 knotholder = sp_lpe_knot_holder(lpe, desktop);
/inkscape/src/ui/tool/
H A Dpath-manipulator.cpp13 #include "live_effects/lpe-powerstroke.h"
14 #include "live_effects/lpe-bspline.h"
15 #include "live_effects/lpe-fillet-chamfer.h"
1475 Effect *lpe = LIVEPATHEFFECT(_path)->get_lpe(); local
1476 if (lpe) {
1477 PathParam *pathparam = dynamic_cast<PathParam *>(lpe->getParameter(_lpe_key.data()));
1500 Effect *lpe = LIVEPATHEFFECT(_path)->get_lpe(); local
1501 if (lpe) {
1502 PathParam *pathparam = dynamic_cast<PathParam *>(lpe->getParameter(_lpe_key.data()));

Completed in 2226 milliseconds