Init by value

This commit is contained in:
Artem Pavlenko 2021-04-12 14:16:09 +01:00
parent 6bab4e56fd
commit 4f783f61ed

View file

@ -102,7 +102,7 @@ struct main_marker_visitor
pixfmt pixf(buf);
renderer_base renb(pixf);
mapnik::box2d<double> const& bbox = {0, 0, svg_width, svg_height};
mapnik::box2d<double> bbox = {0, 0, svg_width, svg_height};
// center the svg marker on '0,0'
agg::trans_affine mtx = agg::trans_affine_translation(-0.5 * w, -0.5 * h);
// Scale the image