Searched defs:d1 (Results 1 - 14 of 14) sorted by relevance

/inkscape/src/libnrtype/
H A DLayout-TNG.cpp45 bool Layout::_directions_are_orthogonal(Direction d1, Direction d2) argument
47 if (d1 == BOTTOM_TO_TOP) d1 = TOP_TO_BOTTOM;
49 if (d1 == RIGHT_TO_LEFT) d1 = LEFT_TO_RIGHT;
51 return d1 != d2;
/inkscape/src/livarot/
H A DAlphaLigne.h76 alpha_step* d1=(alpha_step*)p1; local
78 return d1->x - d2->x ;
H A Dfloat-line.h99 static int CmpBord(float_ligne_bord const &d1, float_ligne_bord const &d2) { argument
100 if ( d1.pos == d2.pos ) {
101 if ( d1.start && !(d2.start) ) {
104 if ( !(d1.start) && d2.start ) {
110 return (( d1.pos < d2.pos ) ? -1 : 1);
H A Dint-line.h75 int_ligne_bord const *d1 = reinterpret_cast<int_ligne_bord const *>(p1); local
78 if ( d1->pos == d2->pos ) {
79 if ( d1->start && !(d2->start) ) {
82 if ( !(d1->start) && d2->start ) {
87 return (( d1->pos < d2->pos ) ? -1 : 1);
/inkscape/src/2geom/
H A Dconic_section_clipper_impl.h316 double d1 = distance (*sp, *ip); local
318 double mdist = std::max (d1, d2);
H A Dgeom.cpp26 * defined by the points p such that dot(n0, p) == d0 and dot(n1, p) == d1.
32 * defined by n0.X = d0 and x1.X = d1. The algorithm is as follows:
46 * c = d0 f = d1
70 Geom::Point const &n1, double const d1,
75 n0[Geom::Y] * d1;
76 /* X = (-d1, d0) dot (n0[Y], n1[Y]) */
86 double Y = n0[Geom::X] * d1 -
102 Geom::Point d1 = p1 - p0; local
105 double c = dot(Geom::rot90(d1), d2);
112 if ( ( d1[
69 line_intersection(Geom::Point const &n0, double const d0, Geom::Point const &n1, double const d1, Geom::Point &result) argument
175 double d1 = dot(n1,p10); local
199 double d1 = dot(n1,p10); local
221 double d1 = dot(n1,p10); local
[all...]
H A Dellipse.cpp625 Angle d1 = distance(ac.rotationAngle() + M_PI/2, bc.rotationAngle()); local
627 Coord adj = d1.radians0() < d2.radians0() ? M_PI/2 : -M_PI/2;
/inkscape/src/live_effects/
H A Dlpe-ellipse_5pts.cpp150 double d1 = -_det5(mat_d); local
156 {a1, b1/2, d1/2},
158 {d1/2, e1/2, f1}
166 Geom::Ellipse el(a1, b1, c1, d1, e1, f1);
/inkscape/src/ui/tool/
H A Dtransform-handle-set.cpp341 Geom::Dim2 d1 = static_cast<Geom::Dim2>((_side + 1) % 2); local
345 if (Geom::are_near(scc[d1], _origin[d1]))
348 vs[d1] = (new_pos - scc)[d1] / (_origin - scc)[d1];
350 if (fabs(vs[d1]) >= 1.0) {
351 vs[d1] = round(vs[d1]);
353 vs[d1]
506 Geom::Dim2 d1 = static_cast<Geom::Dim2>((_side + 1) % 2); local
[all...]
/inkscape/src/display/
H A Dnr-filter-gaussian.cpp234 std::complex<double> const d1 = pow(d1_org, 1.0/q); member in class:Inkscape::Filters::std
237 double const ssqr = 2*(2*(d1/sqr(d1-1.)).real()+d3/sqr(d3-1.));
246 std::complex<double> const d1 = pow(d1_org, 1.0/q); member in class:Inkscape::Filters::std
248 double const absd1sqr = std::norm(d1); // d1*d2 = d1*conj(d1) = |d1|^2 = std::norm(d1)
[all...]
/inkscape/src/
H A Dseltrans.cpp1222 Geom::Point const d1 = _point - _origin; member in class:Geom
1225 Geom::Coord const h1 = Geom::L2(d1); // initial radius
1227 Geom::Point q1 = d1 / h1; // normalized initial vector to handle
1235 double radians = atan2(Geom::dot(Geom::rot90(d1), d2), Geom::dot(d1, d2));;
H A Dbox3d.cpp606 double d1 = dot(n1,C); local
632 if ((dot(A,n1) < d1) != (dot(B,n1) < d1)) {
/inkscape/src/ui/tools/
H A Dtext-tool.cpp1519 Geom::Point const d1 = p1 * tc->text->i2dt_affine(); member in class:Inkscape::UI::Tools::Geom
1524 if (Geom::L2(d0 - center) > Geom::L2(d1 - center))
1528 SP_EVENT_CONTEXT(tc)->desktop->scroll_to_point(d1, 1.0);
1532 tc->cursor->setCoords(d0, d1);
1539 Geom::Point const im_d1 = SP_EVENT_CONTEXT(tc)->desktop->d2w(d1 - top_left);
/inkscape/src/helper/
H A Dgeom-pathstroke.cpp255 Geom::Coord d1 = Geom::distance(chord2_pts[1].point(),start_pt); local
256 // std::cout << " d0: " << d0 << " d1: " << d1 << std::endl;
257 Geom::Point d = (d0 < d1) ? chord2_pts[0].point() : chord2_pts[1].point();
688 Geom::Path d1 = res.portion(0., cross[solution].ta); local
693 res.append(d1);

Completed in 48 milliseconds