Lines Matching defs:arg
38 , arg(0)
65 * sodipodi:spiral="cx cy exp revo rad arg t0"
73 sp_repr_set_svg_double(repr, "sodipodi:argument", this->arg);
153 this->arg = g_ascii_strtod (value, NULL);
155 * FIXME: We still need some bounds on arg, for
160 * results in very negative arg.
163 this->arg = 0.0;
292 g_print ("[%s] depth=%d, dstep=%g, t0=%g, t=%g, arg=%g\n",
293 debug_state, depth, dstep, spiral->t0, *t, spiral->arg);
338 g_print ("cx=%g, cy=%g, exp=%g, revo=%g, rad=%g, arg=%g, t0=%g\n",
344 this->arg,
390 void SPSpiral::setPosition(gdouble cx, gdouble cy, gdouble exp, gdouble revo, gdouble rad, gdouble arg, gdouble t0) {
400 this->arg = arg;
497 double const arg = 2.0 * M_PI * this->revo * t + this->arg;
499 return Geom::Point(rad * cos(arg) + this->cx, rad * sin(arg) + this->cy);
520 double const arg = t_scaled + this->arg;
521 double const s = sin(arg);
522 double const c = cos(arg);
548 rotates by arg), and unrotated has been normalized,
566 * Compute rad and/or arg for point on spiral.
568 void SPSpiral::getPolar(gdouble t, gdouble* rad, gdouble* arg) const {
573 if (arg) {
574 *arg = 2.0 * M_PI * this->revo * t + this->arg;