Searched defs:M_PI (Results 1 - 6 of 6) sorted by relevance

/inkscape/src/svg/
H A Dsvg-affine.cpp28 #ifndef M_PI
29 # define M_PI 3.14159265358979323846 macro
134 tan(args[0] * M_PI / 180.0), 1,
139 a = ( Geom::Affine(1, tan(args[0] * M_PI / 180.0),
215 double angle = std::atan2(transform[1], transform[0]) * (180 / M_PI);
228 double angle = std::atan2(transform[1], transform[0]) * (180 / M_PI);
248 double angle = atan(transform[2]) * (180 / M_PI);
258 double angle = atan(transform[1]) * (180 / M_PI);
/inkscape/src/2geom/
H A Dangle.h48 #ifndef M_PI
49 # define M_PI 3.14159265358979323846 macro
108 return _angle >= M_PI ? _angle - 2*M_PI : _angle;
118 Coord degrees() const { return radians() * (180.0 / M_PI); }
126 Coord ret = 90.0 - _angle * (180.0 / M_PI);
137 Angle a(d * (M_PI / 180.0));
146 Coord rad = M_PI/2 - d * (M_PI / 180.0);
147 if (rad < 0) rad += 2*M_PI;
[all...]
/inkscape/src/
H A Dsp-ellipse.cpp39 #ifndef M_PI
40 #define M_PI 3.14159265358979323846 macro
43 #define SP_2PI (2 * M_PI)
171 this->end = 2 * M_PI;
412 end = 2.0*M_PI;
415 if (incr < 0.0) incr += 2.0*M_PI;
417 int numsegs = 1 + int(incr*2.0/M_PI); // number of arc segments
/inkscape/src/extension/internal/
H A Dtext_reassemble.h37 #ifndef M_PI
38 # define M_PI 3.14159265358979323846 /* pi */ macro
/inkscape/src/live_effects/
H A Dspiro.cpp75 #ifndef M_PI
76 #define M_PI 3.14159265358979323846 /* pi */ macro
513 double u = th / (2 * M_PI);
514 return 2 * M_PI * (u - floor(u + 0.5));
/inkscape/src/extension/internal/pdfinput/
H A Dpdf-parser.cpp58 #ifndef M_PI
59 #define M_PI 3.14159265358979323846 macro

Completed in 32 milliseconds