diff --git a/src/2geom/crossing.h b/src/2geom/crossing.h
index 427848033dc22150733afaad60d43bd5e8785f26..593ce366257f5c4edec007601d1cfd9baf43a7b9 100644 (file)
--- a/src/2geom/crossing.h
+++ b/src/2geom/crossing.h
#include <2geom/rect.h>
#include <2geom/sweep.h>
#include <boost/optional/optional.hpp>
+#include <2geom/path.h>
namespace Geom {
}
return rs;
}
+// provide specific method for Paths because paths can be closed or open. Path::size() is named somewhat wrong...
+std::vector<Rect> bounds(Path const &a);
inline void sort_crossings(Crossings &cr, unsigned ix) { std::sort(cr.begin(), cr.end(), CrossingOrder(ix)); }