1
#ifndef SEEN_NR_SCALE_OPS_H
2
#define SEEN_NR_SCALE_OPS_H
4
#include <libnr/nr-scale.h>
8
inline Point operator*(Point const &p, scale const &s)
10
return Point(p[X] * s[X],
14
inline scale operator*(scale const &a, scale const &b)
16
return scale(a[X] * b[X],
20
inline scale operator/(scale const &numer, scale const &denom)
22
return scale(numer[X] / denom[X],
29
#endif /* !SEEN_NR_SCALE_OPS_H */
34
c-file-style:"stroustrup"
35
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
40
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :