/inkscape/src/livarot/ |
H A D | AVL.h | 71 int RestoreBalances(int diff, AVLTree * &racine); 74 // diff is the change in "subtree height", as needed for the rebalancing 76 int Remove(AVLTree * &racine, AVLTree * &startNode, int &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 | 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 | 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 | 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...] |
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));
|
/inkscape/src/2geom/numeric/ |
H A D | fitting-tool.h | 174 Vector diff(total_samples()); 175 for (size_t i = 0; i < diff.size(); ++i) 177 diff[i] = new_sample_values[i] - old_sample_values[i]; 181 for (size_t i = 0; i < diff.size(); ++i) 183 if (diff[i] != 0) 186 column.scale(diff[i]); 253 Matrix diff(total_samples(), 2); 256 diff(i, X) = new_sample_values[i][X] - old_sample_values[i][X]; 257 diff(i, Y) = new_sample_values[i][Y] - old_sample_values[i][Y]; 265 if (diff( [all...] |
/inkscape/ |
H A D | generate_POTFILES.sh | 41 diff -q po/POTFILES.in po/POTFILES.in.new ||:
|
/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 | 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/2geom/ |
H A D | point.cpp | 228 Point diff(B - A); 229 double angle = -angle_between(diff, dir); 231 return A + dir * Rotate(k * 2.0 * M_PI / (double)n) * L2(diff);
|
H A D | bezier-utils.cpp | 593 Point const diff = Q_u - P; 594 double numerator = dot(diff, Q1_u); 595 double denominator = dot(Q1_u, Q1_u) + dot(diff, Q2_u); 625 double const diff_lensq = lensq(diff); 817 Point const diff = d[center] - d[center - 1]; 818 ret = rot90(diff); 866 double const diff = u[len - 1] - 1; 867 if (fabs(diff) > 1e-13) { 870 // u[len - 1], diff);
|
/inkscape/src/ui/widget/ |
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...] |
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);
|
/inkscape/src/libcola/ |
H A D | gradient_projection.h | 108 double diff = dist - euclideanDistance; local 109 return diff*diff / (dist*dist);
|
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);
|
/inkscape/share/extensions/ |
H A D | bezmisc.py | 231 diff = curlen - targetlen 232 while abs(diff) > tolerance: 234 if diff < 0: 239 diff = curlen - targetlen
|
H A D | dxf_input.py | 222 diff = (a2 - a1 + 360) % (360) 225 if diff: 308 diff = (a2 - a1 + 2*math.pi) % (2*math.pi) 309 if abs(diff) > 0.0000001 and abs(diff - 2*math.pi) > 0.0000001: # open arc 311 if diff > math.pi:
|
/inkscape/src/libvpsc/ |
H A D | block.cpp | 380 double diff = (*v)->position() - (*v)->desiredPosition; local 381 c += (*v)->weight * diff * diff;
|
/inkscape/src/trace/ |
H A D | siox.h | 183 static float diff(unsigned int rgb0, unsigned int rgb1);
|
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/packaging/ |
H A D | release-sign-tarballs | 64 lines=$(bzr diff | wc -l) 245 # git diff --unified=0 HEAD^ | $GREP -F $pkg_version >/dev/null 2>&1
|
/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/tools/ |
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));
|