Init by value
This commit is contained in:
parent
6bab4e56fd
commit
4f783f61ed
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ struct main_marker_visitor
|
||||||
pixfmt pixf(buf);
|
pixfmt pixf(buf);
|
||||||
renderer_base renb(pixf);
|
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'
|
// center the svg marker on '0,0'
|
||||||
agg::trans_affine mtx = agg::trans_affine_translation(-0.5 * w, -0.5 * h);
|
agg::trans_affine mtx = agg::trans_affine_translation(-0.5 * w, -0.5 * h);
|
||||||
// Scale the image
|
// Scale the image
|
||||||
|
|
Loading…
Reference in a new issue