Searched defs:angle (Results 1 - 25 of 69) sorted by relevance

123

/inkscape/src/live_effects/
H A Dlpe-text_label.cpp43 double angle = angle_between(dir, Point(1,0)); local
45 label.setAnchor(std::sin(angle), -std::cos(angle));
H A Dlpe-tangent_to_curve.h47 ScalarParam angle; member in class:Inkscape::LivePathEffect::LPETangentToCurve
H A Dlpe-dynastroke.h51 ScalarParam angle; member in class:Inkscape::LivePathEffect::LPEDynastroke
H A Dlpe-angle_bisector.cpp69 double angle = angle_between(B - ptA, C - ptA); local
71 dir = unit_vector(B - ptA) * Rotate(angle/2);
/inkscape/src/
H A Dtransf_mat_3x4.h37 void set_infinite_direction (Proj::Axis axis, double angle) { // angle is in degrees argument
40 double a = angle * M_PI/180;
H A Dsp-guide.h72 double angle() const { return std::atan2( - normal_to_line[Geom::X], normal_to_line[Geom::Y] ); } function in class:SPGuide
H A Dline-geometry.cpp149 double angle = -1; local
154 angle = pos_angle (dir_A, dir_B);
158 if (tmp_angle > angle) {
159 angle = tmp_angle;
165 if (tmp_angle > angle) {
166 angle = tmp_angle;
172 if (tmp_angle > angle) {
173 angle = tmp_angle;
177 if (angle == -1) {
H A Dpure-transform.h213 PureRotateConstrained(double angle, Geom::Point origin) : argument
214 _angle (angle), // in radians!
215 _angle_snapped (angle),
/inkscape/src/display/
H A Dguideline.h38 double angle; member in struct:SPGuideLine
H A Ddrawing-context.cpp102 void DrawingContext::arc(Geom::Point const &center, double radius, Geom::AngleInterval const &angle) argument
104 double from = angle.initialAngle();
105 double to = angle.finalAngle();
/inkscape/src/2geom/
H A Dmath-utils.h83 /** @brief Simultaneously compute a sine and a cosine of the same angle.
86 * @param angle Angle
89 inline void sincos(double angle, double &sin_, double &cos_) { argument
91 ::sincos(angle, &sin_, &cos_);
93 sin_ = ::sin(angle);
94 cos_ = ::cos(angle);
H A Dcairo-path-sink.cpp71 void CairoPathSink::arcTo(double rx, double ry, double angle, argument
74 EllipticalArc arc(_current_point, rx, ry, angle, large_arc, sweep, p);
H A Dtransforms.cpp142 Affine Rotate::around(Point const &p, Coord angle) argument
144 Affine result = Translate(-p) * Rotate(angle) * Translate(p);
H A Dpath-sink.h69 virtual void arcTo(Coord rx, Coord ry, Coord angle,
153 void arcTo(Coord rx, Coord ry, Coord angle, argument
160 _path.template appendNew<EllipticalArc>(rx, ry, angle,
H A Dconic_section_clipper_impl.cpp457 double angle = cs.axis_angle(); local
458 Line axis1 (*c, angle);
465 Line axis2 (*c, angle + M_PI/2);
H A Dellipse.h39 #include <2geom/angle.h>
54 * the SVG style representation: center, rays and angle between the +X ray
74 Ellipse(Point const &c, Point const &r, Coord angle) argument
77 , _angle(angle)
79 Ellipse(Coord cx, Coord cy, Coord rx, Coord ry, Coord angle) argument
82 , _angle(angle)
90 /// Set center, rays and angle.
91 void set(Point const &c, Point const &r, Coord angle) { argument
94 _angle = angle;
96 /// Set center, rays and angle a
[all...]
H A Dline.cpp52 * or origin and angle.
585 double angle = angle_between(l1.vector(), l2.vector()); local
586 Point B = (angle > 0) ? l2.pointAt(crossing->tb + 1)
H A Dray.h40 #include <2geom/angle.h>
60 Ray(Point const& origin, Coord angle) argument
63 sincos(angle, _vector[Y], _vector[X]);
73 Coord angle() const { return std::atan2(_vector[Y], _vector[X]); } function in class:Geom::Ray
142 // evaluate the angle between r1 and r2 rotating r1 in cw or ccw direction on r2
143 // the returned value is an angle in the interval [0, 2PI[
146 double angle = angle_between(r1.vector(), r2.vector()); local
147 if (angle < 0) angle += 2*M_PI;
148 if (!cw) angle
[all...]
H A Dsvg-path-writer.cpp147 void SVGPathWriter::arcTo(double rx, double ry, double angle, argument
153 _current_pars.push_back(deg_from_rad(angle));
/inkscape/src/ui/widget/
H A Drotateable.cpp94 double angle = atan2(event->y - drag_started_y, event->x - drag_started_x); local
97 double force = CLAMP (-(angle - current_axis)/maxdecl, -1, 1);
104 current_axis = angle;
119 double angle = atan2(event->y - drag_started_y, event->x - drag_started_x); local
120 double force = CLAMP(-(angle - current_axis) / maxdecl, -1, 1);
/inkscape/src/svg/
H A Dsvg-affine.cpp24 #include <2geom/angle.h>
215 double angle = std::atan2(transform[1], transform[0]) * (180 / M_PI); local
216 p += sp_svg_number_write_de(c + p, sizeof(c) - p, angle, prec, min_exp);
228 double angle = std::atan2(transform[1], transform[0]) * (180 / M_PI); local
229 p += sp_svg_number_write_de(c + p, sizeof(c) - p, angle, prec, min_exp);
248 double angle = atan(transform[2]) * (180 / M_PI); local
249 p += sp_svg_number_write_de(c + p, sizeof(c) - p, angle, prec, min_exp);
258 double angle = atan(transform[1]) * (180 / M_PI); local
259 p += sp_svg_number_write_de(c + p, sizeof(c) - p, angle, prec, min_exp);
/inkscape/src/live_effects/parameter/
H A Dtext.cpp65 double angle = Geom::angle_between(dir, Point(1,0)); local
68 sp_canvastext_set_anchor_manually(canvas_text, std::sin(angle), -std::cos(angle));
/inkscape/src/ui/tools/
H A Ddynamic-base.h95 double angle; member in class:Inkscape::UI::Tools::DynamicBase
/inkscape/share/extensions/
H A Dffgeom.py94 def angle(self): member in class:Segment
/inkscape/src/livarot/
H A Dpath-description.h120 // arc: endpoint, 2 radii and one angle, plus 2 booleans to choose the arc (svg style)
124 : PathDescr(descr_arcto), p(pp), rx(x), ry(y), angle(a), large(l), clockwise(c) {}
134 double angle; member in struct:PathDescrArcTo

Completed in 429 milliseconds

123