Searched defs:power (Results 1 - 6 of 6) sorted by relevance

/inkscape/cxxtest/cxxtest/
H A DDescriptions.cpp33 unsigned power; local
35 for ( power = 0; (n % factor) == 0; n /= factor )
36 ++ power;
38 if ( !power )
42 if ( power > 1 )
43 p = numberToString( power, copyString( p, "^" ) );
/inkscape/src/livarot/
H A DShapeMisc.cpp543 Shape::MakeTweak (int mode, Shape *a, double power, JoinType join, double miter, bool do_profile, Geom::Point c, Geom::Point vector, double radius, Geom::Affine *i2doc) argument
550 if (power == 0)
591 if (power <= 0 || mode == tweak_mode_push || mode == tweak_mode_repel || mode == tweak_mode_roughen) {
632 this_power = power;
635 this_power = power * (0.5 * cos (M_PI * (pow(x, alpha))) + 0.5);
641 this_power = power;
685 if (power > 0) {
699 if (power < 0 || mode == tweak_mode_push || mode == tweak_mode_repel || mode == tweak_mode_roughen)
/inkscape/src/live_effects/
H A Dlpe-fillet-chamfer.cpp232 double power = 0; local
234 power = radius * -1;
236 power = radius;
239 doUpdateFillet(path_from_piecewise(pwd2, tolerance), power); local
293 void LPEFilletChamfer::doUpdateFillet(Geom::PathVector const &original_pathv, double power) argument
315 powerend = power;
316 if (power < 0 && !use_knot_distance) {
319 if (power > 0) {
320 powerend = counter + (power / 100);
/inkscape/src/ui/tool/
H A Dnode.cpp554 "<b>BSpline node handle</b>: Shift to drag, double click to reset (%s). %g power"),more,_pm()._bsplineHandlePosition(h));
894 /* in node type changes, about bspline traces, we can mantain them with NO_POWER power in border mode,
895 or we give them the default power in curve mode */
1444 double power = _pm()._bsplineHandlePosition(h); local
1451 "<b>BSpline node</b>: drag to shape the path (more: Shift, Ctrl, Alt). %g power"), power);
1461 "<b>BSpline node</b>: drag to shape the path, click to select only this node (more: Shift, Ctrl, Alt). %g power"), power);
/inkscape/src/ui/tools/
H A Dspray-tool.cpp722 double power; local
724 power = 1/(1 + fabs(gamma_picked));
726 power = 1 + fabs(gamma_picked);
728 val = pow (val, power);
729 r = pow ((double)r, (double)power);
730 g = pow ((double)g, (double)power);
731 b = pow ((double)b, (double)power);
/inkscape/src/ui/dialog/
H A Dclonetiler.cpp2548 double power; local
2550 power = 1/(1 + fabs(gamma_picked));
2552 power = 1 + fabs(gamma_picked);
2554 val = pow (val, power);
2555 r = pow (r, power);
2556 g = pow (g, power);
2557 b = pow (b, power);

Completed in 1737 milliseconds