Searched defs:arc (Results 1 - 7 of 7) sorted by relevance
/inkscape/src/ui/tools/ |
H A D | arc-tool.h | 54 SPGenericEllipse *arc; member in class:Inkscape::UI::Tools::ArcTool
|
/inkscape/src/display/ |
H A D | drawing-context.cpp | 102 void DrawingContext::arc(Geom::Point const ¢er, double radius, Geom::AngleInterval const &angle) function in class:Inkscape::DrawingContext
|
/inkscape/share/extensions/ink2canvas/ |
H A D | canvas.py | 163 def arc(self, x, y, r, a1, a2, flag): member in class:Canvas 165 self.write("ctx.arc(%f, %f, %f, %f, %.8f, %d);" % data)
|
/inkscape/src/ |
H A D | sp-ellipse.cpp | 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; local 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 [all...] |
/inkscape/src/2geom/ |
H A D | ellipse.cpp | 35 #include <2geom/elliptical-arc.h> 217 Ellipse::arc(Point const &ip, Point const &inner, Point const &fp) function in class:Geom::Ellipse 225 // Determination of large arc flag: 231 // 1/2 of an arc, i.e. the cross product of the center -> initial point 257 // If the arc is small (large_arc_flag is false) and the final point 261 // If the arc is large, the opposite is true, since we have to reach
|
H A D | elliptical-arc.cpp | 39 #include <2geom/elliptical-arc.h> 54 * @brief Elliptical arc curve 56 * Elliptical arc is a curve taking the shape of a section of an ellipse. 58 * The arc function has two forms: the regular one, mapping the unit interval to points 61 * determines which part of the ellipse forms the arc. The arc is said to contain an angle 82 * Each arc is defined by five variables: The initial and final point, the ellipse's rays, 85 * from initial to final point. The two flags disambiguate between them: "large arc flag" selects 86 * the bigger arc, while the "sweep flag" selects the arc goin 311 EllipticalArc *arc = new EllipticalArc(); local 316 EllipticalArc *arc = static_cast<EllipticalArc*>(duplicate()); local 608 EllipticalArc const *arc = dynamic_cast<EllipticalArc const *>(&other); local 703 D2<SBasis> arc; local [all...] |
/inkscape/src/ui/ |
H A D | object-edit.cpp | 813 SPGenericEllipse *arc = dynamic_cast<SPGenericEllipse *>(item); local 814 g_assert(arc != NULL); 816 arc->setClosed(sp_genericellipse_side(arc, p) == -1); 818 Geom::Point delta = p - Geom::Point(arc->cx.computed, arc->cy.computed); 819 Geom::Scale sc(arc->rx.computed, arc->ry.computed); 821 arc->start = atan2(delta * sc.inverse()); 824 arc 857 SPGenericEllipse *arc = dynamic_cast<SPGenericEllipse *>(item); local [all...] |
Completed in 275 milliseconds