mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
make src_over the default compositing operation (and an optional kwarg) for im.composite()
This commit is contained in:
parent
a6129e9a80
commit
9b053f493b
@ -228,7 +228,7 @@ void export_image()
|
||||
.def("composite",&composite,
|
||||
( arg("self"),
|
||||
arg("image"),
|
||||
arg("mode"),
|
||||
arg("mode")=mapnik::src_over,
|
||||
arg("opacity")=1.0f
|
||||
))
|
||||
.def("premultiply",&image_32::premultiply)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user