/inkscape/src/libcola/ |
H A D | cola.cpp | 149 double sum = 0, d, diff; local 153 diff = d - euclidean_distance(i,j); 154 sum += diff*diff / (d*d);
|
H A D | gradient_projection.h | 108 double diff = dist - euclideanDistance; local 109 return diff*diff / (dist*dist);
|
/inkscape/src/libvpsc/ |
H A D | block.cpp | 380 double diff = (*v)->position() - (*v)->desiredPosition; local 381 c += (*v)->weight * diff * diff;
|
/inkscape/src/livarot/ |
H A D | AVL.cpp | 315 AVLTree::RestoreBalances (int diff, AVLTree * &racine) argument 319 if (diff < 0) 331 else if (diff == 0) 334 else if (diff > 0) 478 if (diff < 0) 482 else if (diff == 0) 485 else if (diff > 0) 493 if (diff < 0) 634 else if (diff == 0) 637 else if (diff > 668 Remove(AVLTree * &racine, AVLTree * &startNode, int &diff) argument [all...] |
H A D | sweep-tree.cpp | 93 Geom::Point diff; local 94 diff = px - bOrig; 101 y = dot(bNorm, diff); 179 Geom::Point diff; local 180 diff = px - bOrig; 183 y = dot(bNorm, diff);
|
H A D | PathSimplify.cpp | 349 Geom::Point diff; local 350 diff[Geom::X] = data.Xk[i] - data.Xk[i - 1]; 351 diff[Geom::Y] = data.Yk[i] - data.Yk[i - 1]; 352 data.lk[i] = Geom::L2(diff); 537 Geom::Point diff = curAppP - curP; local 538 curDist = dot(diff, diff); 539 diff = midAppP - midP; 540 midDist = dot(diff, diff); 576 Geom::Point diff = curAppP-curP; local 660 Geom::Point diff = curAppP - curP; local 701 Geom::Point diff = curAppP - curP; local 914 Geom::Point diff; local 948 Geom::Point diff; local 1033 Geom::Point diff; local 1066 Geom::Point diff; local [all...] |
H A D | PathStroke.cpp | 113 Geom::Point diff = curP - prevP; local 114 double dist = dot(diff, diff); 136 Geom::Point diff = curP - nextP; local 137 double dist = dot(diff, diff); 187 Geom::Point diff = curP - nextP; local 188 double dist = dot(diff, diff); 710 //Geom::Point diff [all...] |
H A D | Shape.cpp | 2106 Geom::Point const diff = px - ast; member in class:Geom 2107 double const cote = cross(adir, diff);
|
H A D | PathOutline.cpp | 1343 const Geom::Point diff = req - chk; local 1344 const double err = dot(diff,diff); 1482 const Geom::Point diff = req - chk; local 1483 const double err = (dot(diff,diff));
|
H A D | ShapeSweep.cpp | 2001 Geom::Point adir, diff; local 2003 diff = getPoint(nPt).x - a->pData[a->getEdge(no).st].rx; 2004 double t = dot (diff, adir); 2033 Geom::Point adir, diff, ast, aen; local 2091 diff = px - ast; 2092 double cote = cross(adir, diff); 2660 Geom::Point adir, diff, ast, aen, diff1, diff2, diff3, diff4; 2670 diff = atx - ast; 2672 double e = IHalfRound(cross(adir, diff) * a->eData[no].isqlength); 2677 diff1[0] = diff[ [all...] |
/inkscape/src/ui/dialog/ |
H A D | floating-behavior.cpp | 77 float diff = _trans_focus - _trans_blur; local 78 if (diff < 0.0) diff *= -1.0; 80 while (diff > 0.05) { 82 diff = diff / 2.0;
|
H A D | spellcheck.cpp | 277 Geom::Point diff = Geom::Point(bbox2->min()[Geom::X], bbox2->max()[Geom::Y]) - local 282 if (diff[Geom::Y] > 0.2 * diff[Geom::X])
|
H A D | input.cpp | 1764 gdouble diff = axesMap[key][axisNum].second - axes[axisNum]; local 1774 if ( (diff > epsilon) || (diff < -epsilon) ) { 1785 if ( (diff > epsilon) || (diff < -epsilon) ) { 1794 if ( (diff > epsilon) || (diff < -epsilon) ) {
|
/inkscape/src/ui/tools/ |
H A D | gradient-tool.cpp | 413 double diff = local 419 if (diff < tolerance)
|
H A D | flood-tool.cpp | 209 int diff = 0; local 251 diff += abs(static_cast<int>(amc ? unpremul_alpha(rmc, amc) : 0) - (amop ? unpremul_alpha(rmop, amop) : 0)); 252 diff += abs(static_cast<int>(amc ? unpremul_alpha(gmc, amc) : 0) - (amop ? unpremul_alpha(gmop, amop) : 0)); 253 diff += abs(static_cast<int>(amc ? unpremul_alpha(bmc, amc) : 0) - (amop ? unpremul_alpha(bmop, amop) : 0)); 254 return ((diff / 3) <= ((threshold * 3) / 4));
|
/inkscape/src/widgets/ |
H A D | eek-preview.cpp | 374 int diff = (possible.width - area.width) / 2; local 375 area.x += diff;
|
/inkscape/src/libavoid/ |
H A D | vpsc.cpp | 1197 double diff = (*v)->position() - (*v)->desiredPosition; local 1198 c += (*v)->weight * diff * diff;
|
/inkscape/src/trace/ |
H A D | siox.cpp | 269 float CieLab::diff(unsigned int rgb0, unsigned int rgb1) function in class:org::siox::CieLab 1505 && CieLab::diff(image[left], origColor)<1.0) 1514 && CieLab::diff(image[right], origColor)<1.0) 1523 && CieLab::diff(image[top], origColor)<1.0) 1532 && CieLab::diff(image[bottom], origColor)<1.0)
|
/inkscape/src/ |
H A D | file.cpp | 632 unsigned int diff = doc->vacuumDocument(); local 640 if (diff > 0) { 644 diff), 645 diff);
|
H A D | sp-text.cpp | 926 double diff = ((*attr_vector)[start_index + n].computed - begin) / n; // n tested for nonzero in insert() local 928 (*attr_vector)[start_index + i] = begin + diff * i;
|
H A D | gradient-drag.cpp | 902 Geom::Point diff = p - dragger->point; local 903 drag->selected_move_nowrite (diff[Geom::X], diff[Geom::Y], scale_radial);
|
/inkscape/src/ui/ |
H A D | object-edit.cpp | 1271 double diff = mouse_angle - arg_r; local 1272 if (diff > M_PI) 1273 diff -= 2*M_PI; 1274 else if (diff < -M_PI) 1275 diff += 2*M_PI; 1278 // the value of t corresponding to the angle arg_1 + diff: 1279 double t_temp = ((arg_1 + diff) - spiral->arg)/(2*M_PI*spiral->revo); 1285 // change the revo (converting diff from radians to the number of turns) 1286 spiral->revo += diff/(2*M_PI);
|
/inkscape/src/ui/widget/ |
H A D | gimpspinscale.c | 803 gdouble diff; local 815 diff = x - (text_area.width - private->start_x); 817 diff = x - (width - private->start_x); 820 diff = x - private->start_x; 822 value = (private->start_value + diff * step);
|
H A D | selected-style.cpp | 1272 double diff = 0; local 1280 diff = hsla[1] - old; 1288 diff = hsla[2] - old; 1297 diff = hsla[3] - old; 1305 diff = hsla[0] - old; 1332 return diff; 1378 double diff = 0; local 1380 diff = color_adjust(hsla, by, cc, modifier); 1386 parent->getDesktop()->event_context->message_context->setF(Inkscape::IMMEDIATE_MESSAGE, _("Adjusting <b>alpha</b>: was %.3g, now <b>%.3g</b> (diff %.3g); with <b>Ctrl</b> to adjust lightness, with <b>Shift</b> to adjust saturation, without modifiers to adjust hue"), ch - diff, c 1520 double diff = value_adjust(startvalue, by, modifier, false); local [all...] |
/inkscape/src/helper/ |
H A D | geom-pathstroke.cpp | 803 Geom::Point const diff = req - chk; member in class:__anon52::Geom 804 double const err = Geom::dot(diff, diff);
|