Lines Matching defs:radius
360 sp_tweak_dilate_recursive (Inkscape::Selection *selection, SPItem *item, Geom::Point p, Geom::Point vector, gint mode, double radius, double force, double fidelity, bool reverse)
397 if (sp_tweak_dilate_recursive (selection, child, p, vector, mode, radius, force, fidelity, reverse)) {
409 double x = Geom::L2(a->midpoint() - p)/radius;
422 double x = Geom::L2(a->midpoint() - p)/radius;
437 double dr = g_random_double_range(0, radius);
438 double x = Geom::L2(a->midpoint() - p)/radius;
451 double x = Geom::L2(a->midpoint() - p)/radius;
464 double x = Geom::L2(a->midpoint() - p)/radius;
477 double x = Geom::L2(a->midpoint() - p)/radius;
526 // skip those paths whose bboxes are entirely out of reach with our radius
529 bbox->expandBy(radius);
569 true, p, Geom::Point(0,0), radius, &i2doc) == 0) // 0 means the shape was actually changed
575 true, p, Geom::Point(0,0), radius, &i2doc) == 0)
581 true, p, force*2*vector, radius, &i2doc) == 0)
587 true, p, Geom::Point(0,0), radius, &i2doc) == 0)
745 tweak_profile (double dist, double radius)
747 if (radius == 0) {
750 double x = dist / radius;
762 guint32 const rgb_goal, Geom::Point p_w, double radius, double force, guint mode,
795 // Calculate radius in lenfth-of-gradient-line units
796 r = radius / vl;
803 r = radius / rg->r.computed;
848 // the summit falls in this interstop, and the radius is small,
891 Geom::Point p, double radius, double force,
905 p, radius, force, do_h, do_s, do_l, do_o)) {
921 Geom::Rect brush(p - Geom::Point(radius, radius), p + Geom::Point(radius, radius));
934 //} else if (bbox->maxExtent() > 3 * radius) {
939 this_force = force * tweak_profile (Geom::L2 (p - center), radius);
983 double radius = blur_new * perimeter;
984 SPFilter *filter = modify_filter_gaussian_blur_from_item(item->document, item, radius);
992 tweak_colors_in_gradient(item, Inkscape::FOR_FILL, fill_goal, p, radius, this_force, mode, do_h, do_s, do_l, do_o);
1002 tweak_colors_in_gradient(item, Inkscape::FOR_STROKE, stroke_goal, p, radius, this_force, mode, do_h, do_s, do_l, do_o);
1031 double radius = get_dilate_radius(tc);
1073 if (radius == 0 || path_force == 0) {
1090 p, radius, color_force, tc->do_h, tc->do_s, tc->do_l, tc->do_o)) {
1095 if (sp_tweak_dilate_recursive (selection, item, p, vector, tc->mode, radius, move_force, tc->fidelity, reverse)) {
1099 if (sp_tweak_dilate_recursive (selection, item, p, vector, tc->mode, radius, path_force, tc->fidelity, reverse)) {
1111 double radius = get_dilate_radius(tc);
1112 Geom::Affine const sm (Geom::Scale(radius, radius) * Geom::Translate(SP_EVENT_CONTEXT(tc)->desktop->point()));
1181 double radius = get_dilate_radius(this);
1182 Geom::Affine const sm (Geom::Scale(radius, radius) * Geom::Translate(desktop->w2d(motion_w)));