artemp/trac2github — Issue #870: faster line-join and line-cap rendering
Author: artemp
Created: 2011-10-09 20:53:58+00:00
State: open
Labels: Agg_Renderer

agg supports setting the `approximation_scale` which can be used to optimize the drawing of line-joins when `round` is used (which is more expensive) and to a lesser extent line-caps when `round`.

A setting of 0.01 can almost double rendering times in a simple test of LineSymbolizer used on world borders shapefile with linejoin-round. In this case the rendering effect is to make lines appear crisper and better looking.