From 262704b77e7eb174ed248d29f7b27b069c4a81cd Mon Sep 17 00:00:00 2001 From: springmeyer Date: Thu, 5 Jul 2012 16:20:59 -0700 Subject: [PATCH] Updated API changes between v2.0 and v2.1 (markdown) --- API-changes-between-v2.0-and-v2.1.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/API-changes-between-v2.0-and-v2.1.md b/API-changes-between-v2.0-and-v2.1.md index 1a7089d..270679c 100644 --- a/API-changes-between-v2.0-and-v2.1.md +++ b/API-changes-between-v2.0-and-v2.1.md @@ -2,6 +2,7 @@ * `TextSymbolizer` - most attributes moved to either `format` or `placements` properties * TODO - doc all these out + * `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) ## Removed @@ -10,8 +11,14 @@ ## Changed * `MarkersSymbolizer` - * `width` and `height` are now expressions rather than raw floats + * `width` and `height` are now expressions rather than raw floats and their values represent diameter in pixel not radii ## Added - * `comp-op` - All symbolizers now support compositing in the AGG and Cairo renderers \ No newline at end of file + * To All symbolizers (in most cases) + * `comp-op` - All symbolizers now support compositing in the AGG and Cairo renderers + * `clip` - All(most) symbolizers - boolean of whether to clip geometries before rendering (defaults to `true`) + * `smooth` - bezier smooth value - 0-1, 0 (default) means no smoothing, 1 means fully smoothed, higher values create wild loopbacks + * `LineSymbolizer` + * `offset` - offset lines either in positive (right side) or negative (left side) + \ No newline at end of file