diff --git a/include/mapnik/vertex_converters.hpp b/include/mapnik/vertex_converters.hpp index 4510ab13b..60c796043 100644 --- a/include/mapnik/vertex_converters.hpp +++ b/include/mapnik/vertex_converters.hpp @@ -180,12 +180,14 @@ template struct converter_traits { typedef T geometry_type; - typedef mapnik::polygon_clipper conv_type; + //typedef mapnik::polygon_clipper conv_type; + typedef typename agg::conv_clip_polygon conv_type; template static void setup(geometry_type & geom, Args const& args) { typename boost::mpl::at >::type box = boost::fusion::at_c<0>(args); - geom.set_clip_box(box); + geom.clip_box(box.minx(),box.miny(),box.maxx(),box.maxy()); + //geom.set_clip_box(box); } };