/inkscape/src/ui/widget/ |
H A D | rotateable.cpp | 93 double dist = Geom::L2(Geom::Point(event->x, event->y) - Geom::Point(drag_started_x, drag_started_y)); local 95 if (dist > 20) {
|
/inkscape/src/libvpsc/ |
H A D | blocks.cpp | 91 double dist = c->right->offset - c->left->offset - c->gap; local 93 dist=-dist; 97 r->merge(l, c, dist); 122 double dist = c->left->offset + c->gap - c->right->offset; local 124 dist=-dist; 127 l->merge(r, c, dist);
|
H A D | block.cpp | 82 double dist = c->right->offset - c->left->offset - c->gap; local 86 r->merge(l,c,dist); 88 l->merge(r,c,-dist); 95 void Block::merge(Block *b, Constraint *c, double dist) { argument 98 f<<" merging: "<<*b<<"dist="<<dist<<endl; 101 wposn+=b->wposn-dist*b->weight; 107 v->offset+=dist;
|
/inkscape/src/ |
H A D | line-snapper.cpp | 44 Geom::Coord const dist = Geom::L2(p_proj - p.getPoint()); member in class:Geom 46 if (dist < getSnapperTolerance()) { 47 _addSnappedLine(isr, p_proj, dist, p.getSourceType(), p.getSourceNum(), i->first, i->second); 77 Geom::Coord dist = Geom::L2(origin_proj - p.getPoint()); local 78 if (dist < getSnapperTolerance()) { 79 _addSnappedLinePerpendicularly(isr, origin_proj, dist, p.getSourceType(), p.getSourceNum(), false); 84 // std::cout << " -> distance = " << dist; 117 Geom::Coord dist = Geom::L2(p_proj - origin); // distance from circle origin to constraint line local 119 if (dist == radius) { 122 } else if (dist < radiu 149 const Geom::Coord dist = Geom::L2(t - p.getPoint()); local [all...] |
H A D | snapped-curve.cpp | 76 Geom::Coord dist = Geom::distance(p_ix, p); local 87 if (dist < best_dist) { 88 best_dist = dist; 137 Geom::Coord dist = Geom::distance(p_ix, p); local 139 if (dist < best_dist) { 140 best_dist = dist;
|
H A D | snap-candidate.h | 71 void setDistance(Geom::Coord dist) {_dist = dist;} argument
|
H A D | unclump.cpp | 98 // dist between centers minus angle-adjusted radii 205 double dist = unclump_dist (item, other); local 206 if (dist < min && fabs (dist) < 1e6) { 207 min = dist; 228 double dist = unclump_dist (item, other); local 229 if (dist > max && fabs (dist) < 1e6) { 230 max = dist; 282 Moves \a what away from \a from by \a dist 285 unclump_push(SPItem *from, SPItem *what, double dist) argument 308 unclump_pull(SPItem *to, SPItem *what, double dist) argument [all...] |
H A D | sp-offset.cpp | 783 double dist = 1.0; local 917 dist = ptDist; 919 dist = arDist; 927 return dist;
|
/inkscape/src/2geom/ |
H A D | bezier-utils.cpp | 210 double const dist = distance(bezier[0], bezier[3]) / 3.0; local 211 if (IS_NAN(dist)) { 218 : bezier[0] + dist * tHat1 ); 221 : bezier[3] + dist * tHat2 ); 841 double const dist = distance(d[i], d[i-1]); 842 u[i] = u[i-1] + dist; 973 double const dist = distance((a+b)*.5, P); 974 if (dist < tolerance) { 978 return dist / allowed;
|
H A D | basic-intersection.cpp | 410 double dist = 0; local 413 dist = Geom::distance(Ax, B(t)); 414 if (dist > h_dist) { 417 h_dist = dist; 421 dist = Geom::distance(Ax, B(t)); 422 if (dist > h_dist) { 425 h_dist = dist; 433 dist = Geom::distance(At, B(t)); 435 if (dist >= distAtBu-.1 && distAtBu > h_dist) { 456 double dist local [all...] |
/inkscape/src/display/ |
H A D | canvas-bpath.cpp | 159 double dist = Geom::infinity(); local 160 pathv_matrix_point_bbox_wind_distance(cbp->curve->get_pathvector(), cbp->affine, p, NULL, NULL, &dist, 0.5, &viewbox); 162 if (dist <= 1.0) { 166 return dist;
|
H A D | drawing-shape.cpp | 335 double dist = Geom::infinity(); local 346 pathv_matrix_point_bbox_wind_distance(_curve->get_pathvector(), _ctm, p, NULL, needfill? &wind : NULL, &dist, 0.5, &viewbox); 348 pathv_matrix_point_bbox_wind_distance(_curve->get_pathvector(), _ctm, p, NULL, needfill? &wind : NULL, &dist, 0.5, NULL); 377 if ((dist - width) < delta) {
|
/inkscape/src/live_effects/ |
H A D | lpe-roughen.cpp | 275 double dist = Geom::distance((*cubic_start)[1], (*cubic_start)[0]); local 276 oposite = Geom::Point::polar(ray.angle(),dist) + (*cubic_start)[0];
|
H A D | lpe-simplify.cpp | 224 double dist = Geom::distance(point_at2,point_at3); local 227 point_at2 = Geom::Point::polar(angleFixed, dist) + point_at3;
|
H A D | lpe-knot.cpp | 292 double dist=-1; local 296 if ( (dist < 0) || (dist > dist_k) ) { 298 dist = dist_k;
|
/inkscape/src/libavoid/ |
H A D | graph.cpp | 256 void EdgeInf::setDist(double dist) argument 258 //COLA_ASSERT(dist != 0); 270 _dist = dist;
|
H A D | geometry.cpp | 263 double dist(const Point& a, const Point& b) function in namespace:Avoid 277 l += dist(poly.ps[i-1], poly.ps[i]);
|
H A D | makepath.cpp | 158 // as well as the distance between these points (dist), as well as 162 static double cost(ConnRef *lineRef, const double dist, VertInf *inf2, argument 166 double result = dist; 402 double (*dist)(const Point& a, const Point& b) = 446 double edgeDist = dist(BestNode.inf->point, curr->point);
|
H A D | vpsc.cpp | 512 double dist = c->right->offset - c->left->offset - c->gap; local 514 dist=-dist; 518 r->merge(l, c, dist); 545 double dist = c->left->offset + c->gap - c->right->offset; local 547 dist=-dist; 550 l->merge(r, c, dist); 707 double dist = c->right->offset - c->left->offset - c->gap; local 711 r->merge(l,c,dist); 728 merge(Block *b, Constraint *c, double dist) argument [all...] |
/inkscape/src/trace/ |
H A D | quantize.cpp | 526 int index = -1, dist = 0; local 530 if (index == -1 || d < dist) { dist = d; index = k; }
|
/inkscape/src/ui/dialog/ |
H A D | spellcheck.cpp | 632 double dist = 0; local 634 if (Geom::L2(area.corner(corner) - center) > dist) { 635 dist = Geom::L2(area.corner(corner) - center);
|
/inkscape/src/libcola/ |
H A D | gradient_projection.h | 87 dist(desiredDist), 104 b /= euclideanDistance * dist; 108 double diff = dist - euclideanDistance; 109 return diff*diff / (dist*dist); 181 double dist; // ideal distance between vars member in class:DummyVarPair
|
/inkscape/src/livarot/ |
H A D | PathStroke.cpp | 114 double dist = dot(diff, diff); local 115 if (dist > 0.001) { 137 double dist = dot(diff, diff); local 138 if (dist > 0.0) { // more tolerance for the first distance, to give the cap the right direction 188 double dist = dot(diff, diff); local 189 if (dist > 0.001 || (nextI == upTo && dist > 0.0)) { // more tolerance for the last distance too, for the right cap direction 711 //double dist = dot(diff, diff);
|
/inkscape/src/ui/tool/ |
H A D | multi-path-manipulator.cpp | 75 double dist = Geom::distance(**i, **j); local 76 if (dist < closest) { 77 closest = dist;
|
/inkscape/src/extension/internal/filter/ |
H A D | color.h | 1485 "<param name=\"dist\" gui-text=\"" N_("Hue distribution (°)") "\" type=\"int\" appearance=\"full\" min=\"0\" max=\"360\">280</param>\n" 1519 std::ostringstream dist; local 1525 dist << ext->get_param_int("dist"); 1540 "</filter>\n", dist.str().c_str(), colors.str().c_str(), blend1.str().c_str(), sat.str().c_str(), blend2.str().c_str() ); 1683 "<param name=\"dist\" gui-text=\"" N_("Hue distribution (°):") "\" type=\"int\" appearance=\"full\" min=\"0\" max=\"360\">0</param>\n" 1706 std::ostringstream dist; local 1727 dist << ext->get_param_int("dist"); 1787 "</filter>\n", dist [all...] |