This commit is contained in:
parent
0eff77c03e
commit
9539ce96a6
3 changed files with 27 additions and 18 deletions
|
@ -129,8 +129,9 @@ void agg_renderer<T>::process(markers_symbolizer const& sym,
|
|||
eGeomType type = feature.paths()[0].type();
|
||||
if (type == Polygon)
|
||||
converter.template set<clip_poly_tag>();
|
||||
else if (type == LineString)
|
||||
converter.template set<clip_line_tag>();
|
||||
// line clipping disabled due to https://github.com/mapnik/mapnik/issues/1426
|
||||
//else if (type == LineString)
|
||||
// converter.template set<clip_line_tag>();
|
||||
// don't clip if type==Point
|
||||
}
|
||||
converter.template set<transform_tag>(); //always transform
|
||||
|
@ -164,8 +165,9 @@ void agg_renderer<T>::process(markers_symbolizer const& sym,
|
|||
eGeomType type = feature.paths()[0].type();
|
||||
if (type == Polygon)
|
||||
converter.template set<clip_poly_tag>();
|
||||
else if (type == LineString)
|
||||
converter.template set<clip_line_tag>();
|
||||
// line clipping disabled due to https://github.com/mapnik/mapnik/issues/1426
|
||||
//else if (type == LineString)
|
||||
// converter.template set<clip_line_tag>();
|
||||
// don't clip if type==Point
|
||||
}
|
||||
converter.template set<transform_tag>(); //always transform
|
||||
|
@ -198,8 +200,9 @@ void agg_renderer<T>::process(markers_symbolizer const& sym,
|
|||
eGeomType type = feature.paths()[0].type();
|
||||
if (type == Polygon)
|
||||
converter.template set<clip_poly_tag>();
|
||||
else if (type == LineString)
|
||||
converter.template set<clip_line_tag>();
|
||||
// line clipping disabled due to https://github.com/mapnik/mapnik/issues/1426
|
||||
//else if (type == LineString)
|
||||
// converter.template set<clip_line_tag>();
|
||||
// don't clip if type==Point
|
||||
}
|
||||
converter.template set<transform_tag>(); //always transform
|
||||
|
|
|
@ -1699,8 +1699,9 @@ void cairo_renderer_base::process(markers_symbolizer const& sym,
|
|||
eGeomType type = feature.paths()[0].type();
|
||||
if (type == Polygon)
|
||||
converter.set<clip_poly_tag>();
|
||||
else if (type == LineString)
|
||||
converter.set<clip_line_tag>();
|
||||
// line clipping disabled due to https://github.com/mapnik/mapnik/issues/1426
|
||||
//else if (type == LineString)
|
||||
// converter.template set<clip_line_tag>();
|
||||
// don't clip if type==Point
|
||||
}
|
||||
converter.set<transform_tag>(); //always transform
|
||||
|
@ -1726,8 +1727,9 @@ void cairo_renderer_base::process(markers_symbolizer const& sym,
|
|||
eGeomType type = feature.paths()[0].type();
|
||||
if (type == Polygon)
|
||||
converter.set<clip_poly_tag>();
|
||||
else if (type == LineString)
|
||||
converter.set<clip_line_tag>();
|
||||
// line clipping disabled due to https://github.com/mapnik/mapnik/issues/1426
|
||||
//else if (type == LineString)
|
||||
// converter.template set<clip_line_tag>();
|
||||
// don't clip if type==Point
|
||||
}
|
||||
converter.set<transform_tag>(); //always transform
|
||||
|
@ -1758,8 +1760,9 @@ void cairo_renderer_base::process(markers_symbolizer const& sym,
|
|||
eGeomType type = feature.paths()[0].type();
|
||||
if (type == Polygon)
|
||||
converter.set<clip_poly_tag>();
|
||||
else if (type == LineString)
|
||||
converter.set<clip_line_tag>();
|
||||
// line clipping disabled due to https://github.com/mapnik/mapnik/issues/1426
|
||||
//else if (type == LineString)
|
||||
// converter.template set<clip_line_tag>();
|
||||
// don't clip if type==Point
|
||||
}
|
||||
converter.set<transform_tag>(); //always transform
|
||||
|
|
|
@ -156,8 +156,9 @@ void grid_renderer<T>::process(markers_symbolizer const& sym,
|
|||
eGeomType type = feature.paths()[0].type();
|
||||
if (type == Polygon)
|
||||
converter.template set<clip_poly_tag>();
|
||||
else if (type == LineString)
|
||||
converter.template set<clip_line_tag>();
|
||||
// line clipping disabled due to https://github.com/mapnik/mapnik/issues/1426
|
||||
//else if (type == LineString)
|
||||
// converter.template set<clip_line_tag>();
|
||||
// don't clip if type==Point
|
||||
}
|
||||
converter.template set<transform_tag>(); //always transform
|
||||
|
@ -200,8 +201,9 @@ void grid_renderer<T>::process(markers_symbolizer const& sym,
|
|||
eGeomType type = feature.paths()[0].type();
|
||||
if (type == Polygon)
|
||||
converter.template set<clip_poly_tag>();
|
||||
else if (type == LineString)
|
||||
converter.template set<clip_line_tag>();
|
||||
// line clipping disabled due to https://github.com/mapnik/mapnik/issues/1426
|
||||
//else if (type == LineString)
|
||||
// converter.template set<clip_line_tag>();
|
||||
// don't clip if type==Point
|
||||
}
|
||||
converter.template set<transform_tag>(); //always transform
|
||||
|
@ -247,8 +249,9 @@ void grid_renderer<T>::process(markers_symbolizer const& sym,
|
|||
eGeomType type = feature.paths()[0].type();
|
||||
if (type == Polygon)
|
||||
converter.template set<clip_poly_tag>();
|
||||
else if (type == LineString)
|
||||
converter.template set<clip_line_tag>();
|
||||
// line clipping disabled due to https://github.com/mapnik/mapnik/issues/1426
|
||||
//else if (type == LineString)
|
||||
// converter.template set<clip_line_tag>();
|
||||
// don't clip if type==Point
|
||||
}
|
||||
converter.template set<transform_tag>(); //always transform
|
||||
|
|
Loading…
Add table
Reference in a new issue