+ Alpha background patch for Cairo (Berteun)
This commit is contained in:
parent
e9799003e5
commit
f657a2dfe4
1 changed files with 1 additions and 2 deletions
|
@ -503,8 +503,7 @@ namespace mapnik
|
||||||
if (bg)
|
if (bg)
|
||||||
{
|
{
|
||||||
cairo_context context(context_);
|
cairo_context context(context_);
|
||||||
|
context.set_color(*bg, bg->alpha()/255.0);
|
||||||
context.set_color(*bg);
|
|
||||||
context.paint();
|
context.paint();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue