|
|
Donner
C++20 SVG rendering library
|
Parser for floating point numbers in SVG or CSS, corresponding to the CSS3 <number-token> definition from https://www.w3.org/TR/css-syntax-3/#number-token-diagram. More...
#include "donner/svg/parser/Number2dParser.h"
Classes | |
| struct | Result |
| Container for parse result, containing the parsed result and the number of characters that were consumed to parse it. More... | |
Static Public Member Functions | |
| static ParseResult< Result > | Parse (std::string_view str) |
| Parse an SVG filter <number-optional-number> value, which is used to specify either a single number or two numbers representing an X/Y pair for a filter operation. | |
Parser for floating point numbers in SVG or CSS, corresponding to the CSS3 <number-token> definition from https://www.w3.org/TR/css-syntax-3/#number-token-diagram.
| struct donner::svg::parser::Number2dParser::Result |
Container for parse result, containing the parsed result and the number of characters that were consumed to parse it.
|
static |
Parse an SVG filter <number-optional-number> value, which is used to specify either a single number or two numbers representing an X/Y pair for a filter operation.
Each number is a <number-token>, which may either be an integer, floating point, or scientific notation.
| str | String to parse, not all characters may be consumed. |