Module victor::svg::path [] [src]

Structs

Error
Parser
Simplify

Enums

Command

https://www.w3.org/TR/SVG/paths.html#PathData

Origin
SimpleCommand

Where as Command keeps data close to how it is in the source SVG path, this simplifies it by making everything absolute, converting vertical and horizontal line-to to plain line-to, and converting every smooth and quadratic curves to plain (cubic) curve-to.

Functions

parse

Parse the given string as SVG path data. Returns a value that both:

simplify