Fix wrong position calculation after c84d83a685
changed the reference point.
This commit is contained in:
parent
00834a7eaa
commit
7205d04026
1 changed files with 1 additions and 5 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue