+ Alpha background patch for Cairo (Berteun)

This commit is contained in:
Artem Pavlenko 2009-01-29 15:27:27 +00:00
parent e9799003e5
commit f657a2dfe4

View file

@ -503,8 +503,7 @@ namespace mapnik
if (bg)
{
cairo_context context(context_);
context.set_color(*bg);
context.set_color(*bg, bg->alpha()/255.0);
context.paint();
}
}