Searched refs:diff (Results 1 - 25 of 34) sorted by relevance

12

/inkscape/src/livarot/
H A DAVL.h71 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 DPathSimplify.cpp349 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 DAVL.cpp315 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 Dsweep-tree.cpp93 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 DPathStroke.cpp113 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 DShapeSweep.cpp2001 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 DPathOutline.cpp1343 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 Dfitting-tool.h174 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 Dgenerate_POTFILES.sh41 diff -q po/POTFILES.in po/POTFILES.in.new ||:
/inkscape/src/ui/dialog/
H A Dfloating-behavior.cpp77 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 Dinput.cpp1764 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 Dpoint.cpp228 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 Dbezier-utils.cpp593 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 Dselected-style.cpp1272 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 Dgimpspinscale.c803 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 Dgradient_projection.h108 double diff = dist - euclideanDistance; local
109 return diff*diff / (dist*dist);
H A Dcola.cpp149 double sum = 0, d, diff; local
153 diff = d - euclidean_distance(i,j);
154 sum += diff*diff / (d*d);
/inkscape/share/extensions/
H A Dbezmisc.py231 diff = curlen - targetlen
232 while abs(diff) > tolerance:
234 if diff < 0:
239 diff = curlen - targetlen
H A Ddxf_input.py222 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 Dblock.cpp380 double diff = (*v)->position() - (*v)->desiredPosition; local
381 c += (*v)->weight * diff * diff;
/inkscape/src/trace/
H A Dsiox.h183 static float diff(unsigned int rgb0, unsigned int rgb1);
H A Dsiox.cpp269 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 Drelease-sign-tarballs64 lines=$(bzr diff | wc -l)
245 # git diff --unified=0 HEAD^ | $GREP -F $pkg_version >/dev/null 2>&1
/inkscape/src/ui/
H A Dobject-edit.cpp1271 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 Dflood-tool.cpp209 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));

Completed in 98 milliseconds

12