Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

+ use Map::scale_factor_

  • Loading branch information...
commit 34c3128b0cea7669ef58587b4668f87d25a320ab 1 parent bf60dd9
@artemp artemp authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  src/agg/process_raster_symbolizer.cpp
View
3  src/agg/process_raster_symbolizer.cpp
@@ -67,14 +67,13 @@ void agg_renderer<T>::process(raster_symbolizer const& sym,
if (raster_width > 0 && raster_height > 0)
{
- double scale_factor = ext.width() / source->data_.width();
image_data_32 target_data(raster_width,raster_height);
raster target(target_ext, target_data);
reproject_raster(target, *source, prj_trans, err_offs_x, err_offs_y,
sym.get_mesh_size(),
sym.calculate_filter_factor(),
- scale_factor,
+ scale_factor_,
sym.get_scaling());
composite(current_buffer_->data(), target.data_, sym.comp_op(), sym.get_opacity(), start_x, start_y, true);

1 comment on commit 34c3128

@springmeyer
Owner

rolled back in 3823890

Please sign in to comment.
Something went wrong with that request. Please try again.