Notionally an Geom::Matrix corresponding to rotation about the origin.
More...
Notionally an Geom::Matrix corresponding to rotation about the origin.
Behaves like Geom::Matrix for multiplication.
Geom::Rotate::Rotate |
( |
Coord const |
theta | ) |
|
|
explicit |
Constructs a Rotate transformation corresponding to an angle.
- Parameters
-
theta | the rotation angle in radians about the origin |
- See also
- Geom::Rotate_degrees
Angle direction in Inkscape code: If you use the traditional mathematics convention that y increases upwards, then positive angles are anticlockwise as per the mathematics convention. If you take the common non-mathematical convention that y increases downwards, then positive angles are clockwise, as is common outside of mathematics.
Geom::Rotate::Rotate |
( |
Point const & |
p | ) |
|
|
explicit |
Geom::Rotate::Rotate |
( |
Coord const |
x, |
|
|
Coord const |
y |
|
) |
| |
|
explicit |
Rotate Geom::Rotate::inverse |
( |
| ) |
const |
bool Geom::Rotate::operator!= |
( |
Rotate const & |
o | ) |
const |
bool Geom::Rotate::operator== |
( |
Rotate const & |
o | ) |
const |