Searched refs:d2 (Results 1 - 25 of 49) sorted by relevance

12

/inkscape/src/libnrtype/
H A DLayout-TNG.cpp45 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;
H A Dfont-instance.h11 #include <2geom/d2.h>
/inkscape/src/livarot/
H A Dint-line.h76 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);
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 DAlphaLigne.h77 alpha_step* d2=(alpha_step*)p2; local
78 return d1->x - d2->x ;
/inkscape/src/2geom/
H A Dsweep-bounds.h39 #include <2geom/d2.h>
H A D2geom.h56 #include <2geom/d2.h>
H A Dgeom.cpp103 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 Dbezier-to-sbasis.h37 #include <2geom/d2.h>
H A Dsbasis-to-bezier.h38 #include <2geom/d2.h>
H A Dnearest-time.h40 #include <2geom/d2.h>
H A Dbasic-intersection.h42 #include <2geom/d2.h>
H A Dsbasis-math.h44 #include <2geom/d2.h>
H A Dconic_section_clipper_impl.h317 double d2 = distance (*ip, *fp); local
318 double mdist = std::max (d1, d2);
H A Dsbasis-geometric.h46 #include <2geom/d2.h>
H A Dcurve.h47 #include <2geom/d2.h>
/inkscape/share/extensions/
H A Dsimpletransform.py184 d2 = y2 - y1
186 if (d1 - 2*d2 + d3):
187 if (d2*d2 > d1*d3):
188 t = (d1 - d2 + math.sqrt(d2*d2 - d1*d3))/(d1 - 2*d2 + d3)
193 t = (d1 - d2 - math.sqrt(d2*d
[all...]
/inkscape/src/helper/
H A Dgeom.cpp674 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...]
/inkscape/src/ui/tool/
H A Dtransform-handle-set.cpp342 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/live_effects/
H A Dlpe-bendpath.h22 #include <2geom/d2.h>
H A Dlpe-envelope.h21 #include <2geom/d2.h>
H A Dlpe-recursiveskeleton.cpp22 #include <2geom/d2.h>
/inkscape/src/ui/tools/
H A Dpencil-tool.h11 #include <2geom/d2.h>
/inkscape/src/
H A Dsnapped-point.h31 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);
H A Dsnapped-point.cpp57 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),

Completed in 1531 milliseconds

12