|
|
Donner
C++20 SVG rendering library
|
Parse an SVG path "d"-string, see Path Data Syntax. More...
#include "donner/svg/parser/PathParser.h"
Static Public Member Functions | |
| static ParseResult< PathSpline > | Parse (std::string_view d) |
| Parse an SVG path "d"-string, see Path Data Syntax. | |
Parse an SVG path "d"-string, see Path Data Syntax.
|
static |
Parse an SVG path "d"-string, see Path Data Syntax.
Note that this parser may return both an error and a partial path, since path parsing will return anything that it has parsed before it encountered the error. The caller should use both ParseResult::hasResult() and ParseResult::hasError() to determine what has been returned.
| d | String corresponding to the SVG <path d="..."> parameter. |