fix bug in width/height of transform in grid_renderer
This commit is contained in:
parent
c093d2ad4d
commit
5f53246337
1 changed files with 2 additions and 2 deletions
|
@ -62,10 +62,10 @@ grid_renderer<T>::grid_renderer(Map const& m, T & pixmap, double scale_factor, u
|
|||
width_(pixmap_.width()),
|
||||
height_(pixmap_.height()),
|
||||
scale_factor_(scale_factor),
|
||||
t_(pixmap_.width(),pixmap_.width(),m.get_current_extent(),offset_x,offset_y),
|
||||
t_(m.width(),m.height(),m.get_current_extent(),offset_x,offset_y),
|
||||
font_engine_(),
|
||||
font_manager_(font_engine_),
|
||||
detector_(box2d<double>(-m.buffer_size(), -m.buffer_size(), pixmap_.width() + m.buffer_size(), pixmap_.height() + m.buffer_size())),
|
||||
detector_(box2d<double>(-m.buffer_size(), -m.buffer_size(), m.width() + m.buffer_size() ,m.height() + m.buffer_size())),
|
||||
ras_ptr(new grid_rasterizer)
|
||||
{
|
||||
#ifdef MAPNIK_DEBUG
|
||||
|
|
Loading…
Reference in a new issue