Searched refs:ellipse (Results 1 - 14 of 14) sorted by relevance

/inkscape/src/2geom/
H A Dpath-sink.cpp35 #include <2geom/ellipse.h>
H A Delliptical-arc.h45 #include <2geom/ellipse.h>
63 * @param r Rays of the ellipse as a point
64 * @param rot Angle of rotation of the X axis of the ellipse in radians
83 /// Create a new elliptical arc, giving the ellipse's rays as separate coordinates.
106 * @return The arc's center, situated on the intersection of the ellipse's rays */
109 /** @brief Get one of the ellipse's rays
111 * @return The selected ray of the ellipse */
118 /** @brief Get the defining ellipse's rotation
119 * @return Angle between the +X ray of the ellipse and the +X axis */
124 /** @brief Whether the arc is larger than half an ellipse
[all...]
H A Dcircle.cpp35 #include <2geom/ellipse.h>
H A Dellipse.cpp34 #include <2geom/ellipse.h>
51 THROW_RANGEERROR("den == 0, while computing ellipse centre");
56 // evaluate the a coefficient of the ellipse equation in normal form
65 //evaluate ellipse rotation angle
68 // evaluate the length of the ellipse rays
95 // the solution is not unique so we choose always the ellipse
119 THROW_RANGEERROR("a degenerate ellipse doesn't have an inverse unit circle transform");
174 THROW_RANGEERROR("a degenerate ellipse doesn't have an implicit form");
373 // degenerate ellipse is basically a reparametrized line segment
427 // substitute that into the ellipse equatio
[all...]
H A Delliptical-arc.cpp38 #include <2geom/ellipse.h>
56 * Elliptical arc is a curve taking the shape of a section of an ellipse.
61 * determines which part of the ellipse forms the arc. The arc is said to contain an angle
64 * The angular domain considers each ellipse to be
73 * where \f$r_X, r_Y\f$ are the X and Y rays of the ellipse, \f$\theta\f$ is its angle of rotation,
74 * and \f$c_X, c_Y\f$ the coordinates of the ellipse's center - thus mapping the angle
75 * to some point on the ellipse. Note that for example the point at angluar coordinate 0,
77 * create an angle of \f$\pi/4\f$ radians; it is only the case if both axes of the ellipse
80 * @image html ellipse-angular-coordinates.png "An illustration of the angular domain"
82 * Each arc is defined by five variables: The initial and final point, the ellipse'
[all...]
H A Dpath.cpp39 #include <2geom/ellipse.h>
/inkscape/src/extension/dbus/
H A Dpytester.py55 doc.ellipse( 0, 0, 100, 100)
81 doc.ellipse (100, 100, 100, 100)
231 cr1 = doc.ellipse(0,0,50,50)
/inkscape/src/live_effects/
H A Dlpe-powerstroke.cpp35 #include <2geom/ellipse.h>
67 * very quick: this finds the ellipse with minimum eccentricity
355 for non-constant width paths, the rounding can be done with an ellipse but is hard and ambiguous.
370 Geom::Ellipse ellipse; local
372 ellipse = find_ellipse(B[prev_i].at1(), B[i].at0(), *O);
375 // 2geom did not find a fitting ellipse, this happens for weird thick paths :)
381 // check if ellipse.ray is within 'sane' range.
382 if ( ( fabs(ellipse.ray(Geom::X)) > 1e6 ) ||
383 ( fabs(ellipse.ray(Geom::Y)) > 1e6 ) )
390 pb.arcTo( ellipse
[all...]
H A Dlpe-ellipse_5pts.cpp20 #include <2geom/ellipse.h>
77 SP_ACTIVE_DESKTOP->messageStack()->flash(Inkscape::WARNING_MESSAGE, _("Five points required for constructing an ellipse"));
162 SP_ACTIVE_DESKTOP->messageStack()->flash(Inkscape::WARNING_MESSAGE, _("No ellipse found for specified points"));
/inkscape/src/2geom/numeric/
H A Dfitting-model.h43 #include <2geom/ellipse.h>
237 // of an ellipse curve
/inkscape/src/ui/
H A Dobject-edit.cpp23 #include "sp-ellipse.h"
205 // resulting in a perfect circle (and not an ellipse)
797 sp_genericellipse_side(SPGenericEllipse *ellipse, Geom::Point const &p) argument
799 gdouble dx = (p[Geom::X] - ellipse->cx.computed) / ellipse->rx.computed;
800 gdouble dy = (p[Geom::Y] - ellipse->cy.computed) / ellipse->ry.computed;
983 _("Adjust ellipse <b>width</b>, with <b>Ctrl</b> to make circle"),
987 _("Adjust ellipse <b>height</b>, with <b>Ctrl</b> to make circle"),
992 "to snap angle; drag <b>inside</b> the ellipse fo
[all...]
/inkscape/src/extension/internal/
H A Dwmf-print.cpp1025 bool ellipse = false; local
1044 // ellipse = true;
1048 if (polygon || ellipse) {
1062 } else if (ellipse) {
1071 g_error("Fatal programming error in PrintWmf::print_simple_shape at retangle/ellipse/polygon");
H A Demf-print.cpp1610 bool ellipse = false; local
1629 // ellipse = true;
1633 if (polygon || ellipse) {
1658 } else if (ellipse) {
1667 g_error("Fatal programming error in PrintEmf::print_simple_shape at retangle/ellipse/polygon");
/inkscape/src/
H A Dsp-ellipse.cpp2 * SVG <ellipse> and related implementations
22 #include <2geom/ellipse.h>
32 #include "sp-ellipse.h"
238 repr = xml_doc->createElement("svg:ellipse");
255 repr->setCodeUnsafe(g_quark_from_string("svg:ellipse"));
377 return "Unknown ellipse: ERROR";
387 g_warning("The ellipse shape has unknown LPE on it! Convert to path to make it editable preserving the appearance; editing it as ellipse will remove the bad LPE");
475 /* Calculate ellipse start in parent coords. */
536 // Snap to the 4 quadrant points of the ellipse, bu
[all...]

Completed in 49 milliseconds