From 91769ecd023dd4532cfba4501e58d1192a3a23fe Mon Sep 17 00:00:00 2001 From: springmeyer Date: Wed, 22 Aug 2012 18:05:34 -0700 Subject: [PATCH] Updated API changes between v2.0 and v2.1 (markdown) --- API-changes-between-v2.0-and-v2.1.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/API-changes-between-v2.0-and-v2.1.md b/API-changes-between-v2.0-and-v2.1.md index 1f71226..69cf79a 100644 --- a/API-changes-between-v2.0-and-v2.1.md +++ b/API-changes-between-v2.0-and-v2.1.md @@ -80,5 +80,12 @@ * `RasterSymbolizer` * `mode` is deprecated, now use `comp-op` which supports [many more compositing modes](https://github.com/mapnik/mapnik/blob/master/include/mapnik/image_compositing.hpp#L42-79) + * The new mapping from `mode` to `comp-op` is: + * `normal` -> `src_over` + * `grain_merge` and `grain_merge2` -> `grain-merge` + * `multiply` -> `multiply` + * `screen` -> `screen` + * `hard_light` -> `hard-light` + * `divide` and `divide` -> Not supported anymore, see: https://github.com/mapnik/mapnik/issues/1432 * `scaling=fast` is deprecated. It has always been a synonym for `near`, use `near` going forward * `scaling` is now exposed in python as enumerations of `mapnik.scaling_method` not as bare strings \ No newline at end of file