grid - restore missing simplify_tag
in process_polygon_pattern_symbolizer (ref #3329)
This commit is contained in:
parent
35190e81e0
commit
26f7856e83
2 changed files with 7 additions and 3 deletions
|
@ -124,8 +124,7 @@ void cairo_renderer<T>::process(polygon_pattern_symbolizer const& sym,
|
||||||
agg::trans_affine tr;
|
agg::trans_affine tr;
|
||||||
auto geom_transform = get_optional<transform_type>(sym, keys::geometry_transform);
|
auto geom_transform = get_optional<transform_type>(sym, keys::geometry_transform);
|
||||||
if (geom_transform) { evaluate_transform(tr, feature, common_.vars_, *geom_transform, common_.scale_factor_); }
|
if (geom_transform) { evaluate_transform(tr, feature, common_.vars_, *geom_transform, common_.scale_factor_); }
|
||||||
using vertex_converter_type = vertex_converter<
|
using vertex_converter_type = vertex_converter<clip_poly_tag,
|
||||||
clip_poly_tag,
|
|
||||||
transform_tag,
|
transform_tag,
|
||||||
affine_transform_tag,
|
affine_transform_tag,
|
||||||
simplify_tag,
|
simplify_tag,
|
||||||
|
|
|
@ -78,7 +78,12 @@ void grid_renderer<T>::process(polygon_pattern_symbolizer const& sym,
|
||||||
evaluate_transform(tr, feature, common_.vars_, *transform, common_.scale_factor_);
|
evaluate_transform(tr, feature, common_.vars_, *transform, common_.scale_factor_);
|
||||||
}
|
}
|
||||||
|
|
||||||
using vertex_converter_type = vertex_converter<clip_poly_tag,transform_tag,affine_transform_tag,smooth_tag>;
|
using vertex_converter_type = vertex_converter<clip_poly_tag,
|
||||||
|
transform_tag,
|
||||||
|
affine_transform_tag,
|
||||||
|
simplify_tag,
|
||||||
|
smooth_tag>;
|
||||||
|
|
||||||
vertex_converter_type converter(common_.query_extent_,sym,common_.t_,prj_trans,tr,feature,common_.vars_,common_.scale_factor_);
|
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<clip_poly_tag>();
|
if (prj_trans.equal() && clip) converter.set<clip_poly_tag>();
|
||||||
|
|
Loading…
Reference in a new issue