/inkscape/src/filters/ |
H A D | morphology.h | 28 NumberOptNumber radius; member in class:SPFeMorphology
|
/inkscape/src/live_effects/ |
H A D | lpe-circle_with_radius.cpp | 3 * LPE effect that draws a circle based on two points and a radius. 30 //radius(_("Float parameter"), _("just a real number like 1.4!"), "svgname", &wr, this, 50) 33 //registerParameter( dynamic_cast<Parameter *>(&radius) ); 49 double radius = Geom::L2(pt - center); local 51 Geom::Circle c(center, radius);
|
H A D | lpe-fillet-chamfer.h | 70 ScalarParam radius; member in class:Inkscape::LivePathEffect::LPEFilletChamfer
|
H A D | lpe-circle_3pts.cpp | 48 double radius = L2(M - A); local 50 Geom::Circle c(M, radius);
|
H A D | lpe-gears.cpp | 102 // angle of the base circle used to create the involute to a certain radius 108 // angle of the base circle between the origin of the involute and the intersection on another radius 186 double radius = Geom::distance(this->centre(), p) - this->pitch_radius(); local 187 int N = (int) floor( (radius / this->pitch_radius()) * this->number_of_teeth() );
|
H A D | lpe-fillet-chamfer.cpp | 55 ignore_radius_0(_("Ignore 0 radius knots"), _("Ignore 0 radius knots"), "ignore_radius_0", &wr, this, false), 57 flexible(_("Flexible radius size (%)"), _("Flexible radius size (%)"), "flexible", &wr, this, false), 58 use_knot_distance(_("Use knots distance instead radius"), _("Use knots distance instead radius"), "use_knot_distance", &wr, this, false), 60 radius(_("Radius (unit or %):"), _("Radius, in unit or %"), "radius", &wr, this, 0.), 67 registerParameter(&radius); 76 radius 580 double radius = Geom::distance(startArcPoint,middle_point(startArcPoint,endArcPoint))/sin(angle/2.0); local [all...] |
H A D | lpe-powerstroke.cpp | 98 * Find circle that touches inside of the curve, with radius matching the curvature, at time value \c t. 121 double radius = 1/curv; local 122 Geom::Point center = curve(t) + radius*normal; 123 return Geom::Circle(center, fabs(radius)); 657 double radius = 0.5 * distance(pwd2_out.lastValue(), mirrorpath.firstValue()); local 658 Geom::Point midpoint = 0.5*(pwd2_out.lastValue() + mirrorpath.firstValue()) + radius*end_deriv; 666 double radius = 0.5 * distance(pwd2_out.lastValue(), mirrorpath.firstValue()); local 667 fixed_path.appendNew<LineSegment>( pwd2_out.lastValue() + radius*end_deriv ); 668 fixed_path.appendNew<LineSegment>( mirrorpath.firstValue() + radius*end_deriv ); 695 double radius local 704 double radius = 0.5 * distance(pwd2_out.firstValue(), mirrorpath.lastValue()); local [all...] |
/inkscape/src/ |
H A D | sp-radial-gradient.cpp | 150 double radius = this->r.computed; local 172 // radius and the focus-center delta, because gs2user might contain non-uniform scaling 175 Geom::Point r_user(radius, 0); 201 center.x(), center.y(), radius);
|
H A D | line-snapper.cpp | 118 Geom::Coord radius = c.getRadius(); local 119 if (dist == radius) { 122 } else if (dist < radius) { 125 Geom::Coord l = sqrt(radius*radius - dist*dist);
|
H A D | filter-chemistry.cpp | 62 * Sets a suitable filter effects area according to given blur radius, 65 static void set_filter_area(Inkscape::XML::Node *repr, gdouble radius, argument 72 double rx = radius * (expansionY != 0 ? (expansion / expansionY) : 1); 73 double ry = radius * (expansionX != 0 ? (expansion / expansionX) : 1); 79 // (the opacity at 2.4*radius is about 3e-3) 194 * Creates a filter with blur primitive of specified radius for an item with the given matrix expansion, width and height 197 new_filter_gaussian_blur (SPDocument *document, gdouble radius, double expansion, double expansionX, double expansionY, double width, double height) argument 210 set_filter_area(repr, radius, expansion, expansionX, expansionY, 227 double stdDeviation = radius; 256 * Creates a simple filter with a blend primitive and a blur primitive of specified radius fo 260 new_filter_blend_gaussian_blur(SPDocument *document, const char *blendmode, gdouble radius, double expansion, double expansionX, double expansionY, double width, double height) argument 348 new_filter_simple_from_item(SPDocument *document, SPItem *item, const char *mode, gdouble radius) argument 375 modify_filter_gaussian_blur_from_item(SPDocument *document, SPItem *item, gdouble radius) argument [all...] |
/inkscape/src/display/ |
H A D | drawing-context.cpp | 102 void DrawingContext::arc(Geom::Point const ¢er, double radius, Geom::AngleInterval const &angle) argument 107 cairo_arc(_ct, center[X], center[Y], radius, from, to); 109 cairo_arc_negative(_ct, center[X], center[Y], radius, to, from);
|
H A D | nr-filter-morphology.cpp | 44 * the componentwise extreme in the specified axis with the given radius. 52 void morphologicalFilter1D(cairo_surface_t * const input, cairo_surface_t * const out, double radius) { argument 65 int ri = round(radius); // TODO: Support fractional radii?
|
/inkscape/src/libdepixelize/priv/ |
H A D | optimization-kopf2011.h | 168 * within a small radius around its current location. 170 * The small radius is not revealed. I chose the empirically determined value of 178 T radius = 0.125; local 181 (T(std::rand()) / RAND_MAX) * radius * 2 - radius, 182 (T(std::rand()) / RAND_MAX) * radius * 2 - radius
|
/inkscape/src/2geom/ |
H A D | circle.h | 77 Coord radius() const { return _radius; } function in class:Geom::Circle
|
H A D | point.h | 87 static Point polar(Coord angle, Coord radius) { argument 89 ret *= radius;
|
/inkscape/src/ui/widget/ |
H A D | object-composite-settings.cpp | 117 double radius; local 120 radius = _fe_cb.get_blur_value() * perimeter / 400; 122 radius = 0; 139 SPFilter *filter = new_filter_simple_from_item(document, item, blendmode.c_str(), radius); 145 if (radius == 0 && item->style->filter.set 149 else if (radius != 0) { 150 SPFilter *filter = modify_filter_gaussian_blur_from_item(document, item, radius); 270 float radius = query.filter_gaussianBlur_deviation.value; local 271 float percent = radius * 400 / perimeter; // so that for a square, 100% == half side
|
/inkscape/src/libdepixelize/ |
H A D | kopftracer2011.cpp | 68 void operator()(const PixelGraph &graph, unsigned radius); 563 unsigned radius) 572 if ( !radius ) 575 // Fix radius/bounds 579 unsigned displace = radius - 1; 586 radius = displace + 1; 590 displace = radius; 594 radius = displace; 599 radius = displace; 603 if ( !radius ) 562 operator ()(const PixelGraph &graph, unsigned radius) argument [all...] |
/inkscape/src/libavoid/ |
H A D | makepath.cpp | 534 int radius = 5; local 542 radius, 0, 0, 255, 128); 547 radius, 255, 0, 0, 255); 555 radius, 255, 255, 255, 255); 559 radius, 0, 255, 0, 128); 566 radius, 255, 255, 255, 255); 570 radius, 0, 255, 0, 128);
|
/inkscape/src/livarot/ |
H A D | ShapeMisc.cpp | 543 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 622 x = (Geom::L2(to_center)/radius); 624 x = (Geom::L2(ptP * (*i2doc) - c)/radius); 731 Shape::MakeOffset (Shape * a, double dec, JoinType join, double miter, bool do_profile, double cx, double cy, double radius, Geom::Affine *i2doc) argument 809 double x = (Geom::L2(ptP * (*i2doc) - Geom::Point(cx,cy))/radius);
|
/inkscape/src/ui/tool/ |
H A D | control-point-selection.cpp | 217 // TODO preserving the rotation radius needs some rethinking... 549 double radius; local 557 radius = *_mouseover_rot_radius; 563 radius = *_rot_radius; 571 angle = atan2(1.0 / _desktop->current_zoom(), radius) * dir;
|
/inkscape/src/ui/tools/ |
H A D | tweak-tool.cpp | 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) argument 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 745 tweak_profile(double dist, double radius) argument 761 tweak_colors_in_gradient(SPItem *item, Inkscape::PaintTarget fill_or_stroke, guint32 const rgb_goal, Geom::Point p_w, double radius, double force, guint mode, bool do_h, bool do_s, bool do_l, bool ) argument 886 sp_tweak_color_recursive(guint mode, SPItem *item, SPItem *item_at_point, guint32 fill_goal, bool do_fill, guint32 stroke_goal, bool do_stroke, float opacity_goal, bool do_opacity, bool do_blur, bool reverse, Geom::Point p, double radius, double force, bool do_h, bool do_s, bool do_l, bool do_o) argument 983 double radius = blur_new * perimeter; local 1031 double radius = get_dilate_radius(tc); local 1111 double radius = get_dilate_radius(tc); local 1181 double radius = get_dilate_radius(this); local [all...] |
H A D | flood-tool.cpp | 301 unsigned int radius; member in struct:Inkscape::UI::Tools::bitmap_coords_info 509 if (bci.radius == 0) { 520 for (unsigned int ty = bci.y - bci.radius; ty <= bci.y + bci.radius; ty++) { 521 for (unsigned int tx = bci.x - bci.radius; tx <= bci.x + bci.radius; tx++) { 626 if (bci.radius == 0) { 844 bci.radius = prefs->getIntLimited("/tools/paintbucket/autogap", 0, 0, 3); 917 if (bci.radius == 0) { 1048 unsigned int trace_padding = bci.radius [all...] |
/inkscape/src/extension/dbus/ |
H A D | document-interface.cpp | 405 int radius, int rotation, int sides, 414 sp_repr_set_int(newNode, "sodipodi:r1", radius); 415 sp_repr_set_int(newNode, "sodipodi:r2", radius); 475 sp_repr_set_int(newNode, "sodipodi:radius", r); 404 document_interface_polygon(DocumentInterface *doc_interface, int cx, int cy, int radius, int rotation, int sides, GError **error) argument
|
/inkscape/src/helper/ |
H A D | geom-pathstroke.cpp | 35 * Find circle that touches inside of the curve, with radius matching the curvature, at time value \c t. 54 double radius = 1/curv; local 55 Geom::Point center = curve(t) + radius*normal; 56 return Geom::Circle(center, fabs(radius)); 101 double radius = 1/k; local 102 Geom::Point center = p + normal * radius; 103 return Geom::Circle( center, fabs(radius) ); 235 // std::cout << " outer_circle: radius: " << outer_circle.radius() << " center: " << outer_circle.center() << std::endl; 289 // Increase (decrease) the radius o 575 Geom::Coord radius = distance(center, point_on_path); local [all...] |
/inkscape/src/ui/dialog/ |
H A D | objects.cpp | 1522 gdouble radius = 0; local 1528 radius = SP_GAUSSIANBLUR(primitive)->stdDeviation.getNumber(); 1533 SPFilter *filter = new_filter_simple_from_item(_document, item, blendmode.c_str(), radius); 1577 double radius; local 1580 radius = blur * perimeter / 400; 1582 radius = 0; 1585 if (radius != 0) { 1586 // The modify function expects radius to be in display pixels. 1589 radius *= expansion; 1590 SPFilter *filter = modify_filter_gaussian_blur_from_item(_document, item, radius); [all...] |