|
|
Donner
Embeddable browser-grade SVG2 engine
|
#include <cstdint>#include <memory>#include <variant>#include <vector>#include "donner/base/RcString.h"Classes | |
| struct | donner::css::FontFaceSource |
| A single entry listed in src:—either a local face, a URL, or inline data. More... | |
| struct | donner::css::FontFace |
| In-memory representation of a single @font-face rule. More... | |
Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
| namespace | donner::css |
| Donner CSS library, a standalone composable CSS parser. | |
| struct donner::css::FontFace |
In-memory representation of a single @font-face rule.
| Class Members | ||
|---|---|---|
| RcString | familyName | font-family descriptor |
| int | fontStretch = 5 | font-stretch descriptor (1-9, 5=normal, matching FontStretch enum) |
| int | fontStyle = 0 | font-style descriptor (0=normal, 1=italic, 2=oblique) |
| int | fontWeight = 400 | font-weight descriptor (100-900, 400=normal, 700=bold) |
| vector< FontFaceSource > | sources | ordered src list |