From 7205d0402676e8872975c2a090bc24d058fa624f Mon Sep 17 00:00:00 2001 From: Hermann Kraus Date: Fri, 29 Mar 2013 02:54:35 +0100 Subject: [PATCH] Fix wrong position calculation after c84d83a685ba0e201b055db5a7cee68afde05d64 changed the reference point. --- src/cairo_renderer.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/cairo_renderer.cpp b/src/cairo_renderer.cpp index b79da07d8..3699e8c2e 100644 --- a/src/cairo_renderer.cpp +++ b/src/cairo_renderer.cpp @@ -727,11 +727,7 @@ void cairo_renderer_base::process(shield_symbolizer const& sym, { if (glyphs->marker()) { - pixel_position pos = glyphs->marker_pos() + 0.5 * - pixel_position(glyphs->marker()->marker->width(), - glyphs->marker()->marker->height()); - - render_marker(pos, + render_marker(glyphs->marker_pos(), *(glyphs->marker()->marker), glyphs->marker()->transform, sym.get_opacity()); }