/inkscape/src/libnrtype/ |
H A D | Layout-TNG.cpp | 45 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 D | AlphaLigne.h | 76 alpha_step* d1=(alpha_step*)p1; local 78 return d1->x - d2->x ;
|
H A D | float-line.h | 99 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 D | int-line.h | 75 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 D | conic_section_clipper_impl.h | 316 double d1 = distance (*sp, *ip); local 318 double mdist = std::max (d1, d2);
|
H A D | geom.cpp | 26 * 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 D | ellipse.cpp | 625 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 D | lpe-ellipse_5pts.cpp | 150 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 D | transform-handle-set.cpp | 341 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 D | nr-filter-gaussian.cpp | 234 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 D | seltrans.cpp | 1222 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 D | box3d.cpp | 606 double d1 = dot(n1,C); local 632 if ((dot(A,n1) < d1) != (dot(B,n1) < d1)) {
|
/inkscape/src/ui/tools/ |
H A D | text-tool.cpp | 1519 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 D | geom-pathstroke.cpp | 255 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);
|