diff --git a/src/libnr/nr-rect.h b/src/libnr/nr-rect.h
index 7d130fd183f2586157631b5c81eed67704ed741d..83f780efdd051fadd7bf8f5b271e3e90b979ca60 100644 (file)
--- a/src/libnr/nr-rect.h
+++ b/src/libnr/nr-rect.h
#include <boost/optional.hpp>
#include <libnr/nr-point-matrix-ops.h>
#include <libnr/nr-forward.h>
+#include <2geom/rect.h>
namespace NR {
explicit NRRect(boost::optional<NR::Rect> const &rect);
operator boost::optional<NR::Rect>() const { return upgrade(); }
boost::optional<NR::Rect> upgrade() const;
+ explicit NRRect(boost::optional<Geom::Rect> const &rect);
+ operator boost::optional<Geom::Rect>() const { return upgrade_2geom(); }
+ boost::optional<Geom::Rect> upgrade_2geom() const;
NR::Coord x0, y0, x1, y1;
};