/inkscape/src/ |
H A D | transf_mat_3x4.h | 42 double rad = Geom::L2(pt); local 43 set_image_pt(axis, Proj::Pt2(cos (a) * rad, sin (a) * rad, 0.0));
|
H A D | sp-offset.h | 59 float rad; ///< offset radius member in class:SPOffset
|
H A D | sp-spiral.h | 35 x(t) = rad * t^exp cos(2 * Pi * revo*t + arg) + cx 36 y(t) = rad * t^exp sin(2 * Pi * revo*t + arg) + cy \endverbatim 37 * where spiral curve is drawn for {t | t0 <= t <= 1}. The rad and arg 50 float rad; ///< Spiral radius member in class:SPSpiral 55 void setPosition(double cx, double cy, double exp, double revo, double rad, double arg, double t0); 60 void getPolar(double t, double* rad, double* arg) const;
|
H A D | sp-spiral.cpp | 37 , rad(1) 65 * sodipodi:spiral="cx cy exp revo rad arg t0" 72 sp_repr_set_svg_double(repr, "sodipodi:radius", this->rad); 144 if (!sp_svg_length_read_computed_absolute (value, &this->rad)) { 145 this->rad = MAX (this->rad, 0.001); 338 g_print ("cx=%g, cy=%g, exp=%g, revo=%g, rad=%g, arg=%g, t0=%g\n", 343 this->rad, 390 void SPSpiral::setPosition(gdouble cx, gdouble cy, gdouble exp, gdouble revo, gdouble rad, gdouble arg, gdouble t0) { argument 399 this->rad 496 double const rad = this->rad * pow(t, (double)this->exp); local 568 getPolar(gdouble t, gdouble* rad, gdouble* arg) const argument 582 gdouble rad; local [all...] |
/inkscape/src/ui/tools/ |
H A D | spiral-tool.cpp | 371 gdouble const rad = Geom::L2(delta); local 383 rad, arg, 387 Inkscape::Util::Quantity q = Inkscape::Util::Quantity(rad, "px"); 399 if (this->spiral->rad == 0) {
|
H A D | freehand-base.cpp | 963 double rad = 0.5 * prefs->getDouble(tool_path + "/dot-size", 3.0); local 965 // TODO: We vary the dot size between 0.5*rad and 1.5*rad, where rad is the dot size 969 rad *= (1 + s); 973 rad *= 2; 978 sp_repr_set_svg_double (repr, "sodipodi:rx", rad * stroke_width); 979 sp_repr_set_svg_double (repr, "sodipodi:ry", rad * stroke_width);
|
/inkscape/src/2geom/ |
H A D | angle.h | 146 Coord rad = M_PI/2 - d * (M_PI / 180.0); local 147 if (rad < 0) rad += 2*M_PI; 149 a._angle = rad; 389 inline Coord deg_from_rad(Coord rad) { return rad*180.0/M_PI;} argument
|
H A D | elliptical-arc.cpp | 669 Coord rad = (rxry - pxry - rxpy)/(rxpy + pxry); local 670 // normally rad should never be negative, but numerical inaccuracy may cause this 671 if (rad > 0) { 672 rad = std::sqrt(rad); 674 rad = -rad; 676 c = rad * Point(r[X]*p[Y]/r[Y], -r[Y]*p[X]/r[X]);
|
/inkscape/src/libavoid/ |
H A D | makepath.cpp | 183 double rad = M_PI - angleBetween(p1, p2, p3); local 185 if (rad > 0) 190 double xval = rad * 10 / M_PI; 194 // rad * 180 / M_PI, (angle_penalty * yval)); 197 if (rad == M_PI) 202 else if (rad > 0) 350 double rad = M_PI - angleBetween(*last, a, b); local 351 if (rad > (M_PI / 2)) 357 else if (rad > 0)
|
/inkscape/src/livarot/ |
H A D | Path.cpp | 529 double rad; local 547 TangentOnArcAt(at,PrevPoint (piece - 1), *nData, pos, tgt, len, rad); 552 TangentOnCubAt(at, PrevPoint (piece - 1), *nData, false, pos, tgt, len, rad); 580 TangentOnBezAt(at, bStPt, *nData, *stB, false, pos, tgt, len, rad); 587 TangentOnBezAt(at, bStPt, *nextI, fin, false, pos, tgt, len, rad); 592 TangentOnBezAt(at, stP, *nextI, *stB, false, pos, tgt, len, rad); 599 TangentOnBezAt(at, stP, *nextI, fin, false, pos, tgt, len, rad); 617 double rad; local 646 TangentOnArcAt (at,PrevPoint (piece - 1), *nData, pos, tgt, len, rad); 651 TangentOnCubAt (at, PrevPoint (piece - 1), *nData, false, pos, tgt, len, rad); [all...] |
H A D | PathOutline.cpp | 933 Geom::Point &pos, Geom::Point &tgt, double &len, double &rad) 1055 rad = -len * dot(tgt, tgt) / (tgt[0] * dtgt[1] - tgt[1] * dtgt[0]); 1072 rad = len * dot(tgt, tgt) / (tgt[0] * dtgt[1] - tgt[1] * dtgt[0]); 1078 Geom::Point &pos, Geom::Point &tgt, double &len, double &rad) 1086 len = rad = 0; 1109 rad = 100000000; 1116 rad = -l * (dot(dder,dder)) / (cross(dder, ddder)); 1125 rad = -l * (dot(der,der)) / (cross(der, dder)); 1134 Geom::Point & tgt, double &len, double &rad) 1138 len = rad 932 TangentOnArcAt(double at, const Geom::Point &iS, PathDescrArcTo const &fin, Geom::Point &pos, Geom::Point &tgt, double &len, double &rad) argument 1077 TangentOnCubAt(double at, Geom::Point const &iS, PathDescrCubicTo const &fin, bool before, Geom::Point &pos, Geom::Point &tgt, double &len, double &rad) argument 1131 TangentOnBezAt(double at, Geom::Point const &iS, PathDescrIntermBezierTo & mid, PathDescrBezierTo & fin, bool before, Geom::Point & pos, Geom::Point & tgt, double &len, double &rad) argument [all...] |
H A D | PathCutting.cpp | 1150 double len,rad; local 1157 TangentOnCubAt (ct, startP, *oData,true, theP,theT,len,rad);
|
H A D | ShapeSweep.cpp | 2675 double rad = HalfRound (0.501); // when using single precision, 0.505 is better (0.5 would be the correct value, local 2677 diff1[0] = diff[0] - rad; 2678 diff1[1] = diff[1] - rad; 2679 diff2[0] = diff[0] + rad; 2680 diff2[1] = diff[1] - rad; 2681 diff3[0] = diff[0] + rad; 2682 diff3[1] = diff[1] + rad; 2683 diff4[0] = diff[0] - rad; 2684 diff4[1] = diff[1] + rad;
|
/inkscape/src/live_effects/parameter/ |
H A D | filletchamferpointarray.cpp | 410 double FilletChamferPointArrayParam::rad_to_len(int index, double rad) argument 424 Piecewise<D2<SBasis> > offset_curve0 = Piecewise<D2<SBasis> >(A)+rot90(unitVector(derivative(A)))*(rad); 425 Piecewise<D2<SBasis> > offset_curve1 = Piecewise<D2<SBasis> >(B)+rot90(unitVector(derivative(B)))*(rad); 434 if(rad < 0){ 435 len = rad_to_len(index, rad * -1); 443 double rad = 0; local 459 return rad; 481 rad = distanceArc/sin(angleBetween/2.0); 482 return rad * -1;
|
/inkscape/src/helper/ |
H A D | geom-pathstroke.cpp | 721 void get_cubic_data(Geom::CubicBezier const& bez, double time, double& len, double& rad) argument 730 len = rad = 0; 743 rad = 1e8; 745 rad = -l * (Geom::dot(der2, der2) / Geom::cross(der2, der3)); 748 rad = -l * (Geom::dot(der1, der1) / Geom::cross(der1, der2));
|