Lines Matching defs:arc
285 repr->setAttribute("sodipodi:type", "arc");
414 double incr = end - start; // arc angle
417 int numsegs = 1 + int(incr*2.0/M_PI); // number of arc segments
420 incr = incr/numsegs; // limit arc angle to less than 90 degrees
422 Geom::EllipticalArc* arc;
424 arc = circle.arc(Geom::Point::polar(start + seg*incr), Geom::Point::polar(start + (seg + 0.5)*incr), Geom::Point::polar(start + (seg + 1.0)*incr));
425 path.append(*arc);
426 delete arc;
536 // Snap to the 4 quadrant points of the ellipse, but only if the arc
627 * ``F.6 Ellptical arc implementation notes'' for more detail.
657 if (prefs->getDouble("/tools/shapes/arc/start", 0.0) != 0) {
658 this->start = Geom::Angle::from_degrees(prefs->getDouble("/tools/shapes/arc/start", 0.0)).radians0();
661 if (prefs->getDouble("/tools/shapes/arc/end", 0.0) != 0) {
662 this->end = Geom::Angle::from_degrees(prefs->getDouble("/tools/shapes/arc/end", 0.0)).radians0();
665 this->_closed = !prefs->getBool("/tools/shapes/arc/open");