+ remove const modifiers
This commit is contained in:
parent
8de27eaf6f
commit
553e767169
1 changed files with 3 additions and 3 deletions
|
@ -65,14 +65,14 @@ void agg_renderer<T>::process(point_symbolizer const& sym,
|
|||
if (marker)
|
||||
{
|
||||
box2d<double> const& bbox = (*marker)->bounding_box();
|
||||
coord2d const center = bbox.center();
|
||||
coord2d center = bbox.center();
|
||||
|
||||
agg::trans_affine tr;
|
||||
evaluate_transform(tr, feature, sym.get_image_transform());
|
||||
tr = agg::trans_affine_scaling(scale_factor_) * tr;
|
||||
|
||||
agg::trans_affine_translation const recenter(-center.x, -center.y);
|
||||
agg::trans_affine const recenter_tr = recenter * tr;
|
||||
agg::trans_affine_translation recenter(-center.x, -center.y);
|
||||
agg::trans_affine recenter_tr = recenter * tr;
|
||||
box2d<double> label_ext = bbox * recenter_tr;
|
||||
|
||||
for (unsigned i=0; i<feature.num_geometries(); ++i)
|
||||
|
|
Loading…
Reference in a new issue