Changing the gamma for better visual effect
This commit is contained in:
parent
b438a56ada
commit
4250e5de58
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ void agg_renderer<T>::process(polygon_symbolizer const& sym,
|
||||||
renderer ren(renb);
|
renderer ren(renb);
|
||||||
|
|
||||||
ras_ptr->reset();
|
ras_ptr->reset();
|
||||||
ras_ptr->gamma(agg::gamma_linear(0.0, sym.get_gamma()));
|
ras_ptr->gamma(agg::gamma_power(sym.get_gamma()));
|
||||||
metawriter_with_properties writer = sym.get_metawriter();
|
metawriter_with_properties writer = sym.get_metawriter();
|
||||||
for (unsigned i=0;i<feature.num_geometries();++i)
|
for (unsigned i=0;i<feature.num_geometries();++i)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue