Searched defs:d2 (Results 1 - 12 of 12) sorted by relevance
/inkscape/src/libnrtype/ |
H A D | Layout-TNG.cpp | 45 bool Layout::_directions_are_orthogonal(Direction d1, Direction d2) argument 48 if (d2 == BOTTOM_TO_TOP) d2 = TOP_TO_BOTTOM; 50 if (d2 == RIGHT_TO_LEFT) d2 = LEFT_TO_RIGHT; 51 return d1 != d2;
|
/inkscape/src/livarot/ |
H A D | AlphaLigne.h | 77 alpha_step* d2=(alpha_step*)p2; 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 | 76 int_ligne_bord const *d2 = reinterpret_cast<int_ligne_bord const *>(p2); 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/ |
H A D | snapped-point.cpp | 57 Inkscape::SnappedPoint::SnappedPoint(Geom::Point const &p, SnapSourceType const &source, long source_num, SnapTargetType const &target, Geom::Coord const &d, Geom::Coord const &t, bool const &a, bool const &at_intersection, bool const &constrained_snap, bool const &fully_constrained, Geom::Coord const &d2, Geom::Coord const &t2, bool const &a2) : argument 69 _second_distance(d2),
|
H A D | seltrans.cpp | 1223 Geom::Point const d2 = pt - _origin; member in class:Geom 1228 Geom::Coord const h2 = Geom::L2(d2); // new radius 1230 Geom::Point q2 = d2 / h2; // normalized new vector to handle 1235 double radians = atan2(Geom::dot(Geom::rot90(d1), d2), Geom::dot(d1, d2));;
|
/inkscape/src/2geom/ |
H A D | conic_section_clipper_impl.h | 317 double d2 = distance (*ip, *fp); local 318 double mdist = std::max (d1, d2);
|
H A D | geom.cpp | 103 Geom::Point d2 = p2 - p0; local 105 double c = dot(Geom::rot90(d1), d2); 112 if ( ( d1[0] * d2[0] < 0 ) || 113 ( d1[1] * d2[1] < 0 ) ) { 115 } else if ( dot(d1,d1) < dot(d2,d2) ) {
|
H A D | ellipse.cpp | 626 Angle d2 = distance(ac.rotationAngle() - M_PI/2, bc.rotationAngle()); local 627 Coord adj = d1.radians0() < d2.radians0() ? M_PI/2 : -M_PI/2;
|
/inkscape/src/ui/tool/ |
H A D | transform-handle-set.cpp | 342 Geom::Dim2 d2 = static_cast<Geom::Dim2>(_side % 2); local 355 vs[d2] = 1.0; 368 vs[d2] = result[d2]; 372 vs[d2] = uniform ? fabs(vs[d1]) : 1.0; 507 Geom::Dim2 d2 = static_cast<Geom::Dim2>(_side % 2); local 519 scale[d2] = 1; 520 skew[d2] = 1; 542 Inkscape::PureSkewConstrained psc = Inkscape::PureSkewConstrained(skew[d1], scale[d1], scc, d2); 555 new_new_pos[d2] [all...] |
/inkscape/src/helper/ |
H A D | geom.cpp | 674 double d2 = fabs(((x2 - x4) * dy - (y2 - y4) * dx)); local 678 switch((int(d2 > curve_collinearity_epsilon) << 1) + 687 d2 = calc_sq_distance(x1, y1, x2, y2); 695 d2 = k * (da1*dx + da2*dy); 699 if(d2 > 0 && d2 < 1 && d3 > 0 && d3 < 1) 705 if(d2 <= 0) d2 = calc_sq_distance(x2, y2, x1, y1); 706 else if(d2 >= 1) d2 [all...] |
H A D | geom-pathstroke.cpp | 265 Geom::Coord d2 = Geom::distance(chord3_pts[0].point(),d); local 267 // std::cout << " d2: " << d2 << " d3: " << d3 << std::endl; 270 Geom::Point p = (d2 > d3) ? chord3_pts[0].point() : chord3_pts[1].point(); 689 Geom::Path d2 = temp.portion(cross[solution].tb, temp.size()); local 694 res.setFinal(d2.initialPoint()); 695 res.append(d2);
|
Completed in 152 milliseconds