Searched refs:first_segment (Results 1 - 9 of 9) sorted by relevance

/inkscape/src/live_effects/
H A Dlpe-bspline.cpp227 sbasis_in = in->first_segment()->toSBasis();
231 point_at1 = sbasis_in.valueAt(Geom::nearest_time((*cubic)[1], *in->first_segment()));
236 point_at2 = sbasis_in.valueAt(Geom::nearest_time((*cubic)[2], *in->first_segment()));
239 point_at1 = in->first_segment()->initialPoint();
240 point_at2 = in->first_segment()->finalPoint();
250 sbasis_out = out->first_segment()->toSBasis();
254 next_point_at1 = sbasis_out.valueAt(Geom::nearest_time((*cubic)[1], *out->first_segment()));
257 next_point_at1 = out->first_segment()->initialPoint();
266 Geom::D2<Geom::SBasis> sbasis_start = start->first_segment()->toSBasis();
271 Geom::nearest_time((*cubic)[1], *start->first_segment())));
[all...]
H A Dlpe-roughen.cpp270 Geom::CubicBezier const *cubic_start = dynamic_cast<Geom::CubicBezier const *>(nCurve->first_segment());
272 Geom::Point oposite = nCurve->first_segment()->pointAt(1.0/3.0);
295 out->curveto((*cubic)[1], (*cubic)[2] - ((*cubic)[3] - nCurve->first_segment()->initialPoint()) , (*cubic)[3]);
/inkscape/src/display/
H A Dcurve.h49 Geom::Curve const * first_segment() const;
H A Dcurve-test.h138 TS_ASSERT_EQUALS(SPCurve(pv).first_segment() , (void*)0);
141 TS_ASSERT_DIFFERS(SPCurve(pv).first_segment() , (void*)0);
146 TS_ASSERT_EQUALS(*SPCurve(pv).first_segment() , pv[0][0]);
149 TS_ASSERT_EQUALS(*SPCurve(pv).first_segment() , pv[0][0]);
152 TS_ASSERT_EQUALS(*SPCurve(pv).first_segment() , pv[0][0]);
155 TS_ASSERT_EQUALS(*SPCurve(pv).first_segment() , pv[0][0]);
158 TS_ASSERT_EQUALS(SPCurve(pv).first_segment() , (void*)0);
164 TS_ASSERT_EQUALS(*SPCurve(pv).first_segment() , pv[0][0]);
H A Dcurve.cpp360 SPCurve::first_segment() const function in class:Geom::SPCurve
/inkscape/src/ui/tools/
H A Dpen-tool.cpp1383 this->p[0] = this->red_curve->first_segment()->initialPoint();
1384 this->p[3] = this->red_curve->first_segment()->finalPoint();
1394 this->p[0] = this->red_curve->first_segment()->initialPoint();
1395 this->p[3] = this->red_curve->first_segment()->finalPoint();
1539 float WP = Geom::nearest_time((*cubic)[2],*weight_power->first_segment());
1543 SBasisweight_power = weight_power->first_segment()->toSBasis();
H A Dcalligraphic-tool.cpp1009 Geom::Curve const * dc_cal1_firstseg = this->cal1->first_segment();
1010 Geom::Curve const * rev_cal2_firstseg = rev_cal2->first_segment();
H A Deraser-tool.cpp847 Geom::BezierCurve const * dc_cal1_firstseg = dynamic_cast<Geom::BezierCurve const *>( this->cal1->first_segment() );
848 Geom::BezierCurve const * rev_cal2_firstseg = dynamic_cast<Geom::BezierCurve const *>( rev_cal2->first_segment() );
/inkscape/src/ui/tool/
H A Dpath-manipulator.cpp1037 sbasis_inside_nodes = line_inside_nodes->first_segment()->toSBasis();
1048 sbasis_inside_nodes = line_inside_nodes->first_segment()->toSBasis();
1295 pos = Geom::nearest_time(Geom::Point(h->position()[X] - HANDLE_CUBIC_GAP, h->position()[Y] + HANDLE_CUBIC_GAP), *line_inside_nodes->first_segment());
1324 sbasis_inside_nodes = line_inside_nodes->first_segment()->toSBasis();

Completed in 1347 milliseconds