Function svg2polylines::parse
source · [−]Expand description
Parse an SVG string into a vector of Polyline
s.
Flattening tolerance
The tol
parameter controls the flattening tolerance. A large value (e.g.
10.0
) results in very coarse, jagged curves, while a small value (e.g.
0.05
) results in very smooth curves, but a lot of generated polylines.
Using a value of 0.15
is a good compromise.
Preprocessing
If preprocess
is set to true
,