diff --git a/include/mapnik/geometry.hpp b/include/mapnik/geometry.hpp index 31bfeb337c..3a7bc2db18 100644 --- a/include/mapnik/geometry.hpp +++ b/include/mapnik/geometry.hpp @@ -121,6 +121,11 @@ class geometry : private::boost::noncopyable push_vertex(x,y,SEG_MOVETO); } + void close(coord_type x, coord_type y) + { + push_vertex(x,y,SEG_CLOSE); + } + unsigned vertex(double* x, double* y) const { return cont_.get_vertex(itr_++,x,y);