diff --git a/include/mapnik/renderer_common/process_markers_symbolizer.hpp b/include/mapnik/renderer_common/process_markers_symbolizer.hpp index 16e18ecf2..f67715b06 100644 --- a/include/mapnik/renderer_common/process_markers_symbolizer.hpp +++ b/include/mapnik/renderer_common/process_markers_symbolizer.hpp @@ -115,7 +115,7 @@ struct render_marker_symbolizer_visitor feature_, common_.vars_, common_.scale_factor_); - if (clip) // optional clip (default: true) + if (clip) { geometry::geometry_types type = geometry::geometry_type(feature_.get_geometry()); if (type == geometry::geometry_types::Polygon || type == geometry::geometry_types::MultiPolygon) @@ -161,7 +161,7 @@ struct render_marker_symbolizer_visitor feature_, common_.vars_, common_.scale_factor_); - if (clip) // optional clip (default: true) + if (clip) { geometry::geometry_types type = geometry::geometry_type(feature_.get_geometry()); if (type == geometry::geometry_types::Polygon || type == geometry::geometry_types::MultiPolygon) @@ -220,7 +220,7 @@ struct render_marker_symbolizer_visitor common_.vars_, common_.scale_factor_); - if (clip) // optional clip (default: true) + if (clip) { geometry::geometry_types type = geometry::geometry_type(feature_.get_geometry()); if (type == geometry::geometry_types::Polygon || type == geometry::geometry_types::MultiPolygon) diff --git a/include/mapnik/renderer_common/process_polygon_symbolizer.hpp b/include/mapnik/renderer_common/process_polygon_symbolizer.hpp index 99f12435c..6fd2524fc 100644 --- a/include/mapnik/renderer_common/process_polygon_symbolizer.hpp +++ b/include/mapnik/renderer_common/process_polygon_symbolizer.hpp @@ -54,7 +54,7 @@ void render_polygon_symbolizer(polygon_symbolizer const &sym, vertex_converter_type converter(clip_box, sym, common.t_, prj_trans, tr, feature,common.vars_,common.scale_factor_); - if (prj_trans.equal() && clip) converter.template set(); //optional clip (default: true) + if (prj_trans.equal() && clip) converter.template set(); converter.template set(); //always transform converter.template set(); if (simplify_tolerance > 0.0) converter.template set(); // optional simplify converter diff --git a/src/agg/process_line_pattern_symbolizer.cpp b/src/agg/process_line_pattern_symbolizer.cpp index a6be6b154..17ec5bbf0 100644 --- a/src/agg/process_line_pattern_symbolizer.cpp +++ b/src/agg/process_line_pattern_symbolizer.cpp @@ -134,7 +134,7 @@ struct agg_renderer_process_visitor_l vertex_converter_type converter(clip_box,sym_,common_.t_,prj_trans_,tr,feature_,common_.vars_,common_.scale_factor_); - if (clip) converter.set(); //optional clip (default: true) + if (clip) converter.set(); converter.set(); //always transform if (simplify_tolerance > 0.0) converter.set(); // optional simplify converter if (std::fabs(offset) > 0.0) converter.set(); // parallel offset @@ -204,7 +204,7 @@ struct agg_renderer_process_visitor_l vertex_converter_type converter(clip_box,sym_,common_.t_,prj_trans_,tr,feature_,common_.vars_,common_.scale_factor_); - if (clip) converter.set(); //optional clip (default: true) + if (clip) converter.set(); converter.set(); //always transform if (simplify_tolerance > 0.0) converter.set(); // optional simplify converter if (std::fabs(offset) > 0.0) converter.set(); // parallel offset diff --git a/src/agg/process_polygon_pattern_symbolizer.cpp b/src/agg/process_polygon_pattern_symbolizer.cpp index 386adee16..fb00b2a00 100644 --- a/src/agg/process_polygon_pattern_symbolizer.cpp +++ b/src/agg/process_polygon_pattern_symbolizer.cpp @@ -165,7 +165,7 @@ struct agg_renderer_process_visitor_p vertex_converter_type converter(clip_box,sym_,common_.t_,prj_trans_,tr,feature_,common_.vars_,common_.scale_factor_); - if (prj_trans_.equal() && clip) converter.set(); //optional clip (default: true) + if (prj_trans_.equal() && clip) converter.set(); converter.set(); //always transform converter.set(); // optional affine transform if (simplify_tolerance > 0.0) converter.set(); // optional simplify converter @@ -264,7 +264,7 @@ struct agg_renderer_process_visitor_p vertex_converter_type converter(clip_box, sym_,common_.t_,prj_trans_,tr,feature_,common_.vars_,common_.scale_factor_); - if (prj_trans_.equal() && clip) converter.set(); //optional clip (default: true) + if (prj_trans_.equal() && clip) converter.set(); converter.set(); //always transform converter.set(); // optional affine transform if (simplify_tolerance > 0.0) converter.set(); // optional simplify converter diff --git a/src/cairo/process_line_pattern_symbolizer.cpp b/src/cairo/process_line_pattern_symbolizer.cpp index 4ec63570a..7aa85ab41 100644 --- a/src/cairo/process_line_pattern_symbolizer.cpp +++ b/src/cairo/process_line_pattern_symbolizer.cpp @@ -150,7 +150,7 @@ void cairo_renderer::process(line_pattern_symbolizer const& sym, vertex_converter_type converter(clipping_extent,sym, common_.t_, prj_trans, tr, feature, common_.vars_, common_.scale_factor_); - if (clip) converter.set(); // optional clip (default: true) + if (clip) converter.set(); converter.set(); // always transform if (std::fabs(offset) > 0.0) converter.set(); // parallel offset converter.set(); // optional affine transform diff --git a/src/cairo/process_polygon_pattern_symbolizer.cpp b/src/cairo/process_polygon_pattern_symbolizer.cpp index 760a42524..aa7b0ca12 100644 --- a/src/cairo/process_polygon_pattern_symbolizer.cpp +++ b/src/cairo/process_polygon_pattern_symbolizer.cpp @@ -132,7 +132,7 @@ void cairo_renderer::process(polygon_pattern_symbolizer const& sym, smooth_tag>; vertex_converter_type converter(clip_box,sym,common_.t_,prj_trans,tr,feature,common_.vars_,common_.scale_factor_); - if (prj_trans.equal() && clip) converter.set(); //optional clip (default: true) + if (prj_trans.equal() && clip) converter.set(); converter.set(); //always transform converter.set(); if (simplify_tolerance > 0.0) converter.set(); // optional simplify converter diff --git a/src/grid/process_line_pattern_symbolizer.cpp b/src/grid/process_line_pattern_symbolizer.cpp index d34f6e861..dc370f73c 100644 --- a/src/grid/process_line_pattern_symbolizer.cpp +++ b/src/grid/process_line_pattern_symbolizer.cpp @@ -120,7 +120,7 @@ void grid_renderer::process(line_pattern_symbolizer const& sym, simplify_tag,smooth_tag, offset_transform_tag,stroke_tag>; vertex_converter_type converter(clipping_extent,line,common_.t_,prj_trans,tr,feature,common_.vars_,common_.scale_factor_); - if (clip) converter.set(); // optional clip (default: true) + if (clip) converter.set(); converter.set(); // always transform if (std::fabs(offset) > 0.0) converter.set(); // parallel offset converter.set(); // optional affine transform diff --git a/src/grid/process_polygon_pattern_symbolizer.cpp b/src/grid/process_polygon_pattern_symbolizer.cpp index 604c0c253..06408a801 100644 --- a/src/grid/process_polygon_pattern_symbolizer.cpp +++ b/src/grid/process_polygon_pattern_symbolizer.cpp @@ -79,7 +79,7 @@ void grid_renderer::process(polygon_pattern_symbolizer const& sym, using vertex_converter_type = vertex_converter; vertex_converter_type converter(common_.query_extent_,sym,common_.t_,prj_trans,tr,feature,common_.vars_,common_.scale_factor_); - if (prj_trans.equal() && clip) converter.set(); //optional clip (default: true) + if (prj_trans.equal() && clip) converter.set(); converter.set(); //always transform converter.set(); if (simplify_tolerance > 0.0) converter.set(); // optional simplify converter diff --git a/src/text/symbolizer_helpers.cpp b/src/text/symbolizer_helpers.cpp index 08746e33b..1d0fe48d2 100644 --- a/src/text/symbolizer_helpers.cpp +++ b/src/text/symbolizer_helpers.cpp @@ -288,7 +288,7 @@ text_symbolizer_helper::text_symbolizer_helper( value_double simplify_tolerance = mapnik::get(sym_, feature_, vars_); value_double smooth = mapnik::get(sym_, feature_, vars_); - if (clip) converter_.template set(); //optional clip (default: true) + if (clip) converter_.template set(); converter_.template set(); //always transform converter_.template set(); if (simplify_tolerance > 0.0) converter_.template set(); // optional simplify converter @@ -413,7 +413,7 @@ text_symbolizer_helper::text_symbolizer_helper( value_double simplify_tolerance = mapnik::get(sym_, feature_, vars_); value_double smooth = mapnik::get(sym_, feature_, vars_); - if (clip) converter_.template set(); //optional clip (default: true) + if (clip) converter_.template set(); converter_.template set(); //always transform converter_.template set(); if (simplify_tolerance > 0.0) converter_.template set(); // optional simplify converter