Add support for rendering multi-segment strokes.