1 #include <libnr/nr-rect-l.h>
3 namespace NR {
5 IRect::IRect(Rect const &r) :
6 _min(int(floor(r.min()[X])), int(floor(r.min()[Y]))),
7 _max(int(ceil(r.min()[X])), int(ceil(r.min()[Y])))
8 {
9 }
11 }
13 /*
14 Local Variables:
15 mode:c++
16 c-file-style:"stroustrup"
17 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
18 indent-tabs-mode:nil
19 fill-column:99
20 End:
21 */
22 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :