|
NovaSVG 0.10.0
A header-only SVG library
|
#include <svgelement.h>
Public Member Functions | |
| Length ()=default | |
| Length (float value, LengthUnits units) | |
| float | value () const |
| LengthUnits | units () const |
| bool | parse (std::string_view input, LengthNegativeMode mode) |
Definition at line 381 of file svgelement.h.
|
default |
|
inline |
Definition at line 384 of file svgelement.h.
| NOVASVG_INLINE bool novasvg::Length::parse | ( | std::string_view | input, |
| LengthNegativeMode | mode | ||
| ) |
Definition at line 2552 of file svgelement.h.
References novasvg::Em, novasvg::Ex, novasvg::Forbid, novasvg::None, novasvg::parseNumber(), novasvg::Percent, novasvg::Px, novasvg::stripLeadingAndTrailingSpaces(), and value().
Referenced by novasvg::SVGLength::parse(), novasvg::SVGLengthList::parse(), novasvg::parseDashArray(), and novasvg::parseLength().
|
inline |
Definition at line 389 of file svgelement.h.
Referenced by novasvg::SVGLength::isPercent(), and novasvg::LengthContext::valueForLength().
|
inline |
Definition at line 388 of file svgelement.h.
Referenced by parse(), and novasvg::LengthContext::valueForLength().