aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/src/nopencv.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'svg-flatten/src/nopencv.hpp')
-rw-r--r--svg-flatten/src/nopencv.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/svg-flatten/src/nopencv.hpp b/svg-flatten/src/nopencv.hpp
index 98f6f50..48bb82b 100644
--- a/svg-flatten/src/nopencv.hpp
+++ b/svg-flatten/src/nopencv.hpp
@@ -37,7 +37,7 @@ namespace gerbolyze {
CP_HOLE
};
- typedef std::function<void(Polygon, ContourPolarity)> ContourCallback;
+ typedef std::function<void(Polygon_i&, ContourPolarity)> ContourCallback;
class Image32 {
public:
@@ -101,6 +101,7 @@ namespace gerbolyze {
};
void find_blobs(Image32 &img, ContourCallback cb);
+ ContourCallback simplify_contours_teh_chin(int kcos, ContourCallback cb);
}
}