+ clip polygons
This commit is contained in:
parent
8116ba4809
commit
6495ea8996
1 changed files with 2 additions and 1 deletions
|
@ -60,8 +60,9 @@ 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();
|
||||||
switch (sym.get_gamma_method())
|
switch (sym.get_gamma_method())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue