diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2011-07-09 00:52:06 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2011-07-09 00:52:06 +0000 |
| commit | a3e406b2ceafb8fb6b44db0a7816a083d7b3c8ee (patch) | |
| tree | 7e9a749edf47feed38908b5dad896f79f791c4e2 /src/libnr/nr-rect-l.h | |
| parent | Merge from trunk (diff) | |
| download | inkscape-a3e406b2ceafb8fb6b44db0a7816a083d7b3c8ee.tar.gz inkscape-a3e406b2ceafb8fb6b44db0a7816a083d7b3c8ee.zip | |
Add SPCanvasArena caching layer. Currently breaks for clipped groups
that contain filtered objects (Cairo clipping bug?)
(bzr r10347.1.6)
Diffstat (limited to 'src/libnr/nr-rect-l.h')
| -rw-r--r-- | src/libnr/nr-rect-l.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libnr/nr-rect-l.h b/src/libnr/nr-rect-l.h index 6e82bb790..c4c5f5a6d 100644 --- a/src/libnr/nr-rect-l.h +++ b/src/libnr/nr-rect-l.h @@ -2,9 +2,16 @@ #define SEEN_NR_RECT_L_H #include <glib.h> +#include <2geom/int-rect.h> struct NRRectL { gint32 x0, y0, x1, y1; + NRRectL(); + NRRectL(gint32 xmin, gint32 ymin, gint32 xmax, gint32 ymax); + explicit NRRectL(Geom::IntRect const &r); + explicit NRRectL(Geom::OptIntRect const &r); + operator Geom::OptIntRect() const { Geom::OptIntRect r = upgrade_2geom(); return r; } + Geom::OptIntRect upgrade_2geom() const; }; #endif /* !SEEN_NR_RECT_L_H */ |
