do not premultiply the image mask being composited to the target buffer - fixes #1211

This commit is contained in:
Dane Springmeyer 2012-05-24 13:41:00 -07:00
parent a567c02306
commit 6fd92dcc3e

View file

@ -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)