/inkscape/src/2geom/ |
H A D | circle.cpp | 63 Coord r2 = _center[X] * _center[X] + _center[Y] * _center[Y] - d; local 65 if (r2 < 0) { 69 _radius = std::sqrt(r2);
|
H A D | line.cpp | 390 Ray const& r2, 399 r2.vector(), 400 r2.origin() ); 416 if ( are_near(r2.origin(), ls1) ) { 417 bool eqvs = (dot(direction, r2.vector()) > 0); 418 if ( are_near(ls1.initialPoint(), r2.origin()) && !eqvs) { 421 } else if ( are_near(ls1.finalPoint(), r2.origin()) && eqvs) { 433 } else if ( are_near(ls1.initialPoint(), r2) ) { 457 OptCrossing intersection(Ray const& r1, Ray const& r2) argument 461 r2 389 intersection_impl( LineSegment const& ls1, Ray const& r2, unsigned int i ) argument [all...] |
H A D | ray.h | 137 bool are_same(Ray const& r1, Ray const& r2, double eps = EPSILON) { argument 138 return are_near(r1.vector(), r2.vector(), eps) 139 && are_near(r1.origin(), r2.origin(), eps); 142 // evaluate the angle between r1 and r2 rotating r1 in cw or ccw direction on r2 145 double angle_between(Ray const& r1, Ray const& r2, bool cw = true) { argument 146 double angle = angle_between(r1.vector(), r2.vector()); 155 * @a r1 is rotated half the way to @a r2 in either clockwise or counter-clockwise direction. 161 * - If @a cw is set to @c true, the returned ray will equal the passed rays @a r1 and @a r2. 167 Ray make_angle_bisector_ray(Ray const& r1, Ray const& r2, boo argument [all...] |
H A D | intersection-graph.cpp | 283 PathVector r1, r2; local 285 r2 = getBminusA(); 286 std::copy(r2.begin(), r2.end(), std::back_inserter(r1));
|
H A D | line.h | 538 Ray const& r2, 551 OptCrossing intersection(Line const& l1, Ray const& r2) argument 553 return detail::intersection_impl(r2, l1, 1); 569 OptCrossing intersection(LineSegment const& ls1, Ray const& r2) argument 571 return detail::intersection_impl(ls1, r2, 0); 584 OptCrossing intersection(Ray const& r1, Ray const& r2);
|
/inkscape/src/widgets/ |
H A D | star-toolbar.cpp | 138 gdouble r2 = 1.0; local 140 sp_repr_get_double(repr, "sodipodi:r2", &r2); 141 if (r2 < r1) { 142 sp_repr_set_svg_double(repr, "sodipodi:r2", 146 r2*gtk_adjustment_get_value(adj)); 327 } else if ((!strcmp(name, "sodipodi:r1") || !strcmp(name, "sodipodi:r2")) && (!isFlatSided) ) { 330 gdouble r2 = 1.0; local 332 sp_repr_get_double(repr, "sodipodi:r2", &r2); [all...] |
/inkscape/src/ |
H A D | unclump.cpp | 96 double r2 = 0.5 * (wh2[Geom::X] + (wh2[Geom::Y] - wh2[Geom::X]) * (a2/(M_PI/2))); local 99 double dist_r = (Geom::L2 (c2 - c1) - r1 - r2);
|
H A D | sp-star.cpp | 58 this->readAttr( "sodipodi:r2" ); 77 sp_repr_set_svg_double(repr, "sodipodi:r2", this->r[1]); 469 sp_star_position_set (SPStar *star, gint sides, Geom::Point center, gdouble r1, gdouble r2, gdouble arg1, gdouble arg2, bool isflat, double rounded, double randomized) argument 479 star->r[1] = CLAMP(r2, 0.0, star->r[0]);
|
/inkscape/src/extension/internal/filter/ |
H A D | color.h | 627 std::ostringstream r2; local 641 r2 << ((color2 >> 24) & 0xff); 681 a2.str().c_str(), r2.str().c_str(), g2.str().c_str(), b2.str().c_str(), swap2.str().c_str(),
|
/inkscape/src/libavoid/ |
H A D | connector.cpp | 1039 static bool pointRepLessThan(PointRep *r1, PointRep *r2) argument 1042 size_t r2less = r2->inner_set.size();
|
/inkscape/src/extension/dbus/ |
H A D | document-interface.cpp | 415 sp_repr_set_int(newNode, "sodipodi:r2", radius); 427 int r1, int r2, int sides, gdouble rounded, 436 sp_repr_set_int(newNode, "sodipodi:r2", r2); 426 document_interface_star(DocumentInterface *doc_interface, int cx, int cy, int r1, int r2, int sides, gdouble rounded, gdouble arg1, gdouble arg2, GError **error) argument
|
/inkscape/src/helper/ |
H A D | geom-pathstroke.cpp | 297 double r2 = circle2.radius(); local 298 double delta_r = r2 - r1; 336 circle2 = Geom::Circle( c2 + dr*n2, r2+dr );
|
/inkscape/src/ui/widget/ |
H A D | gimpcolorwheel.c | 1018 gint x2, y2, r2, g2, b2; /* Second vertex */ local 1054 get_color (priv->h, 1.0, 0.0, &r2, &g2, &b2); 1064 SWAP (r2, r3, t); 1082 SWAP (r1, r2, t); 1104 rl = LERP (r1, r2, y1, y2, y_interp); 1112 rl = LERP (r2, r3, y2, y3, y_interp);
|
/inkscape/src/extension/internal/pdfinput/ |
H A D | svg-builder.cpp | 774 double x1, y1, r1, x2, y2, r2; local 775 radial_shading->getCoords(&x1, &y1, &r1, &x2, &y2, &r2); 781 sp_repr_set_svg_double(gradient, "r", r2);
|