lpe-bspline.cpp revision 1921b929dbf1c1ff579f5eaa93b324a66669d445
3853N/A#include "live_effects/lpe-bspline.h"
3853N/A#include "helper/geom-curves.h"
3853N/A#include "preferences.h"
3853N/Anamespace LivePathEffect {
3853N/A steps(_("Steps with CTRL:"), _("Change number of steps with CTRL pressed"), "steps", &wr, this, 2),
3853N/A ignore_cusp(_("Ignore cusp nodes"), _("Change ignoring cusp nodes"), "ignore_cusp", &wr, this, true),
4803N/A only_selected(_("Change only selected nodes"), _("Change only selected nodes"), "only_selected", &wr, this, false),
3853N/A weight(_("Change weight:"), _("Change weight of the effect"), "weight", &wr, this, DEFAULT_START_POWER)
3853N/ALPEBSpline::addCanvasIndicators(SPLPEItem const */*lpeitem*/, std::vector<Geom::PathVector> &hp_vec)
4803N/A next_point_at1 = sbasis_out.valueAt(Geom::nearest_time((*cubic)[1], *out->first_segment()));
3853N/A delete line_helper;
3853N/A delete line_helper;
3853N/A if((cubic && are_near((*cubic)[0],(*cubic)[1])) || (cubic2 && are_near((*cubic2)[2],(*cubic2)[3]))) {
3853N/A char const * svgd = "M 1,0.5 A 0.5,0.5 0 0 1 0.5,1 0.5,0.5 0 0 1 0,0.5 0.5,0.5 0 0 1 0.5,0 0.5,0.5 0 0 1 1,0.5 Z";
3853N/A if (!only_selected) {