+ ensure passing of default scale_factor to each render function

This commit is contained in:
Dane Springmeyer 2010-06-19 14:26:04 +00:00
parent 3e34359aad
commit 0706b4fbaa

View file

@ -194,7 +194,7 @@ void render_to_file1(const mapnik::Map& map,
else else
{ {
mapnik::image_32 image(map.getWidth(),map.getHeight()); mapnik::image_32 image(map.getWidth(),map.getHeight());
render(map,image,0,0); render(map,image,1.0,0,0);
mapnik::save_to_file(image,filename,format); mapnik::save_to_file(image,filename,format);
} }
} }
@ -213,7 +213,7 @@ void render_to_file2(const mapnik::Map& map,const std::string& filename)
else else
{ {
mapnik::image_32 image(map.getWidth(),map.getHeight()); mapnik::image_32 image(map.getWidth(),map.getHeight());
render(map,image,0,0); render(map,image,1.0,0,0);
mapnik::save_to_file(image,filename); mapnik::save_to_file(image,filename);
} }
} }