Code

Add a warning to sp-object.h to not use some of the new methods
[inkscape.git] / src / libnr / nr-rotate-fns.h
1 #ifndef SEEN_NR_ROTATE_FNS_H
2 #define SEEN_NR_ROTATE_FNS_H
4 /** \file
5  * Declarations for rotation functions.
6  */
8 #include <libnr/nr-rotate.h>
9 #include <libnr/nr-point-fns.h>
11 inline bool rotate_equalp(NR::rotate const &a, NR::rotate const &b, double const eps)
12 {
13     return point_equalp(a.vec, b.vec, eps);
14 }
16 NR::rotate rotate_degrees(double degrees);
18 #endif /* !SEEN_NR_ROTATE_FNS_H */
20 /*
21   Local Variables:
22   mode:c++
23   c-file-style:"stroustrup"
24   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
25   indent-tabs-mode:nil
26   fill-column:99
27   End:
28 */
29 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :