diff --git a/src/agg/agg_renderer.cpp b/src/agg/agg_renderer.cpp index 77ae1e752..a3af6c492 100644 --- a/src/agg/agg_renderer.cpp +++ b/src/agg/agg_renderer.cpp @@ -444,6 +444,27 @@ void agg_renderer::debug_draw_box(R& buf, box2d const& box, agg::render_scanlines(*ras_ptr, sl_line, ren); } +template +void agg_renderer::draw_geo_extent(box2d const& extent, mapnik::color const& color) +{ + box2d box = t_.forward(extent); + double x0 = box.minx(); + double x1 = box.maxx(); + double y0 = box.miny(); + double y1 = box.maxy(); + unsigned rgba = color.rgba(); + for (double x=x0; x; template void agg_renderer::debug_draw_box( agg::rendering_buffer& buf,