#include <cstdint>#include <iosfwd>#include <string>Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
| namespace | donner::svg |
| Donner SVG library, which can load, manipulate and render SVG files. | |
Enumerations | |
| enum class | donner::svg::TextTier : uint8_t { donner::svg::None , donner::svg::Basic , donner::svg::Full } |
| Text support compiled into the linked Donner libraries, selected at build time by the //donner/svg/renderer:text and //donner/svg/renderer:text_full Bazel settings or the matching CMake options. More... | |
Functions | |
| std::ostream & | donner::svg::operator<< (std::ostream &os, TextTier tier) |
| Ostream output operator for TextTier, outputs the enum name. | |
| TextTier | donner::svg::BuiltTextTier () |
| Returns the text support the linked Donner libraries were built with. | |
| bool | donner::svg::IsTextBuiltIn () |
| Returns true if the linked libraries render text (TextTier::Basic or TextTier::Full). | |
| bool | donner::svg::IsFullTextBuiltIn () |
| Returns true if the linked libraries include FreeType outlines and HarfBuzz shaping. | |
| bool | donner::svg::IsWoff2BuiltIn () |
| Returns true if the linked font manager loads WOFF2 fonts; see TextTier. | |
| bool | donner::svg::PrepareTextResources (std::string *error) |
| Prepares the packaged font resources that text rendering needs, as donner::PreparePackagedResources does, when text is built in. | |