+ fix comment
This commit is contained in:
parent
8b8e247e62
commit
c943447509
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ agg_renderer<T>::agg_renderer(Map const& m, T & pixmap, double scale_factor, uns
|
||||||
int h = (*bg_image)->height();
|
int h = (*bg_image)->height();
|
||||||
if ( w > 0 && h > 0)
|
if ( w > 0 && h > 0)
|
||||||
{
|
{
|
||||||
// repeat background-image in both x,y
|
// repeat background-image both vertically and horizontally
|
||||||
unsigned x_steps = unsigned(std::ceil(width_/double(w)));
|
unsigned x_steps = unsigned(std::ceil(width_/double(w)));
|
||||||
unsigned y_steps = unsigned(std::ceil(height_/double(h)));
|
unsigned y_steps = unsigned(std::ceil(height_/double(h)));
|
||||||
for (unsigned x=0;x<x_steps;++x)
|
for (unsigned x=0;x<x_steps;++x)
|
||||||
|
|
Loading…
Reference in a new issue