diff --git a/src/agg/process_shield_symbolizer.cpp b/src/agg/process_shield_symbolizer.cpp index 266d83880..6dad62d7b 100644 --- a/src/agg/process_shield_symbolizer.cpp +++ b/src/agg/process_shield_symbolizer.cpp @@ -27,9 +27,9 @@ #include #include #include + #include -// stl -#include + // boost #include @@ -57,8 +57,8 @@ void agg_renderer::process(shield_symbolizer const& sym, std::pair marker_pos = helper.get_marker_position(placement->placements[ii]); render_marker(marker_pos.first, marker_pos.second, helper.get_marker(), helper.get_transform(), sym.get_opacity()); - double x = std::floor(placement->placements[ii].starting_x); - double y = std::floor(placement->placements[ii].starting_y); + double x = placement->placements[ii].starting_x; + double y = placement->placements[ii].starting_y; ren.prepare_glyphs(&(placement->placements[ii])); ren.render(x, y); }