Permalink
Browse files

make src_over the default compositing operation (and an optional kwar…

…g) for im.composite()
  • Loading branch information...
Dane Springmeyer
Dane Springmeyer committed Oct 4, 2012
1 parent a6129e9 commit 9b053f493b80e6faa8a2ee43ddd7a5df931fc785
Showing with 1 addition and 1 deletion.
  1. +1 −1 bindings/python/mapnik_image.cpp
@@ -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)

0 comments on commit 9b053f4

Please sign in to comment.