Inkscape
Vector Graphics Editor
|
TODO: insert short description here. More...
Go to the source code of this file.
Functions | |
double | mod360 (double const x) |
Returns x wrapped around to between 0 and less than 360, or 0 if x isn't finite. | |
double | mod360symm (double const x) |
Returns x wrapped around to between -180 and less than 180, or 0 if x isn't finite. | |
double | radians_to_degree_mod360 (double rad) |
double | degree_to_radians_mod2pi (double degree) |
TODO: insert short description here.
Definition in file mod360.h.
double degree_to_radians_mod2pi | ( | double | degree | ) |
Definition at line 47 of file mod360.cpp.
References Geom::Angle::from_degrees(), and Geom::Angle::radians().
Referenced by Inkscape::UI::Dialog::details::AttributesPanel::change_angle().
double mod360 | ( | double const | x | ) |
Returns x wrapped around to between 0 and less than 360, or 0 if x isn't finite.
Definition at line 19 of file mod360.cpp.
Referenced by TextTagAttributes::addToRotate(), mod360symm(), and TextTagAttributes::setRotate().
double mod360symm | ( | double const | x | ) |
Returns x wrapped around to between -180 and less than 180, or 0 if x isn't finite.
Definition at line 36 of file mod360.cpp.
References mod360().
Referenced by Inkscape::SelTrans::rotateRequest(), and Inkscape::SelTrans::skewRequest().
double radians_to_degree_mod360 | ( | double | rad | ) |
Definition at line 43 of file mod360.cpp.
References Geom::Angle::degrees(), and Geom::Angle::from_radians().