mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
+ take into account alpha when rendering building frame
(TODO: consider more options - roof fill,??)
This commit is contained in:
parent
f7ad2f18fa
commit
8b66128c89
@ -148,7 +148,7 @@ void agg_renderer<T>::process(building_symbolizer const& sym,
|
||||
agg::conv_stroke<path_type> stroke(path);
|
||||
stroke.width(scale_factor_);
|
||||
ras_ptr->add_path(stroke);
|
||||
ren.color(agg::rgba8(int(r*0.8), int(g*0.8), int(b*0.8), int(255 * sym.get_opacity())));
|
||||
ren.color(agg::rgba8(int(r*0.8), int(g*0.8), int(b*0.8), int(a * sym.get_opacity())));
|
||||
agg::render_scanlines(*ras_ptr, sl, ren);
|
||||
ras_ptr->reset();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user