Apply scale factor to offsets.

This commit is contained in:
Hermann Kraus 2013-03-24 15:21:59 +01:00
parent f6870a6b70
commit b1bc5a51b3

View file

@ -266,7 +266,8 @@ struct converter_traits<T,mapnik::offset_transform_tag>
static void setup(geometry_type & geom, Args const& args)
{
typename boost::mpl::at<Args,boost::mpl::int_<2> >::type sym = boost::fusion::at_c<2>(args);
geom.set_offset(sym.offset());
double scale_factor = boost::fusion::at_c<6>(args);
geom.set_offset(sym.offset()*scale_factor);
}
};