+ clip polygons

This commit is contained in:
Artem Pavlenko 2012-02-14 18:39:36 +00:00
parent 8116ba4809
commit 6495ea8996

View file

@ -60,6 +60,7 @@ void agg_renderer<T>::process(polygon_symbolizer const& sym,
unsigned g=fill_.green(); unsigned g=fill_.green();
unsigned b=fill_.blue(); unsigned b=fill_.blue();
unsigned a=fill_.alpha(); unsigned a=fill_.alpha();
renb.clip_box(0,0,width_,height_);
renderer ren(renb); renderer ren(renb);
ras_ptr->reset(); ras_ptr->reset();