+ pass correct clipping tag
This commit is contained in:
parent
3607281018
commit
d0a24c1ae5
1 changed files with 3 additions and 3 deletions
|
@ -74,7 +74,7 @@ void agg_renderer<T>::process(line_pattern_symbolizer const& sym,
|
||||||
|
|
||||||
if (!pat) return;
|
if (!pat) return;
|
||||||
|
|
||||||
box2d<double> ext = query_extent_ * 1.1;
|
box2d<double> ext = query_extent_ * 1.0;
|
||||||
|
|
||||||
agg::rendering_buffer buf(pixmap_.raw_data(),width_,height_, width_ * 4);
|
agg::rendering_buffer buf(pixmap_.raw_data(),width_,height_, width_ * 4);
|
||||||
agg::pixfmt_rgba32 pixf(buf);
|
agg::pixfmt_rgba32 pixf(buf);
|
||||||
|
@ -90,7 +90,7 @@ void agg_renderer<T>::process(line_pattern_symbolizer const& sym,
|
||||||
vertex_converter<box2d<double>,rasterizer_type,line_pattern_symbolizer, proj_transform, CoordTransform, conv_types>
|
vertex_converter<box2d<double>,rasterizer_type,line_pattern_symbolizer, proj_transform, CoordTransform, conv_types>
|
||||||
converter(ext,ras,sym,t_,prj_trans,scale_factor_);
|
converter(ext,ras,sym,t_,prj_trans,scale_factor_);
|
||||||
|
|
||||||
if (sym.clip()) converter.set<clip_poly_tag>(); //optional clip (default: true)
|
if (sym.clip()) converter.set<clip_line_tag>(); //optional clip (default: true)
|
||||||
converter.set<transform_tag>(); //always transform
|
converter.set<transform_tag>(); //always transform
|
||||||
//if (sym.smooth() > 0.0) converter.set<smooth_tag>(); // FIXME optional smooth converter
|
//if (sym.smooth() > 0.0) converter.set<smooth_tag>(); // FIXME optional smooth converter
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue