|
|
Donner
C++20 SVG rendering library
|
#include "donner/base/Box.h"#include "donner/base/MathUtils.h"#include "donner/base/RelativeLengthMetrics.h"Classes | |
| struct | donner::Length< T > |
| Parses a CSS <length-percentage> type as defined by https://www.w3.org/TR/css-values-3/#typedef-length-percentage. More... | |
Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
Typedefs | |
| using | donner::Lengthd = Length<double> |
| Shorthand for Length<double>. | |
Enumerations | |
| enum class | donner::LengthUnit : uint8_t { donner::None , donner::Percent , donner::Cm , donner::Mm , donner::Q , donner::In , donner::Pc , donner::Pt , donner::Px , donner::Em , donner::Ex , donner::Ch , donner::Rem , donner::Vw , donner::Vh , donner::Vmin , donner::Vmax } |
| The unit identifier for a length, corresponding to CSS unit identifiers. More... | |
Functions | |
| std::ostream & | donner::operator<< (std::ostream &os, LengthUnit unit) |
| OStream output operator, writes the CSS unit identifier to the stream, e.g. % or px. | |