do not premultiply the image mask being composited to the target buffer - fixes #1211
This commit is contained in:
parent
a567c02306
commit
6fd92dcc3e
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ void blend (image_32 & im, unsigned x, unsigned y, image_32 const& im2, float op
|
||||||
|
|
||||||
void composite(image_32 & im, image_32 & im2, mapnik::composite_mode_e mode, float opacity)
|
void composite(image_32 & im, image_32 & im2, mapnik::composite_mode_e mode, float opacity)
|
||||||
{
|
{
|
||||||
mapnik::composite(im.data(),im2.data(),mode,opacity,0,0,true,true);
|
mapnik::composite(im.data(),im2.data(),mode,opacity,0,0,false,true);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(HAVE_CAIRO) && defined(HAVE_PYCAIRO)
|
#if defined(HAVE_CAIRO) && defined(HAVE_PYCAIRO)
|
||||||
|
|
Loading…
Reference in a new issue