From b1bc5a51b3d993bc5c24d8bd201a04f1f335c2f2 Mon Sep 17 00:00:00 2001 From: Hermann Kraus Date: Sun, 24 Mar 2013 15:21:59 +0100 Subject: [PATCH] Apply scale factor to offsets. --- include/mapnik/vertex_converters.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/mapnik/vertex_converters.hpp b/include/mapnik/vertex_converters.hpp index b669f58ce..a21d9befc 100644 --- a/include/mapnik/vertex_converters.hpp +++ b/include/mapnik/vertex_converters.hpp @@ -266,7 +266,8 @@ struct converter_traits static void setup(geometry_type & geom, Args const& args) { typename boost::mpl::at >::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); } };