Code

Make curvature work again by fixing a minor omission
[inkscape.git] / src / 2geom / region.cpp
index cfab3a35a5538c34a85620e636aea209cab691a8..065f3f418b3eb166359708ac6c43c7d7658a28fc 100644 (file)
@@ -1,18 +1,10 @@
-#include "region.h"
-#include "utils.h"
+#include <2geom/region.h>
+#include <2geom/utils.h>
 
-#include "shape.h"
+#include <2geom/shape.h>
 
 namespace Geom {
 
-Regions sanitize_path(Path const &p) {
-    Regions results;
-    Crossings crs = self_crossings(p);
-    for(unsigned i = 0; i < crs.size(); i++) {
-        
-    }
-}
-
 Region Region::operator*(Matrix const &m) const {
     Region r((m.flips() ? boundary.reverse() : boundary) * m, fill);
     if(box && m.onlyScaleAndTranslation()) r.box = (*box) * m;
@@ -40,3 +32,14 @@ unsigned outer_index(Regions const &ps) {
 }
 
 }
+
+/*
+  Local Variables:
+  mode:c++
+  c-file-style:"stroustrup"
+  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+  indent-tabs-mode:nil
+  fill-column:99
+  End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :