|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
Non-ASCII glyphs the editor chrome draws as text, in one place. More...
#include <array>#include <cstdint>Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
Variables | |
| constexpr char32_t | donner::editor::kSourceReferenceChipCodepoint = 0x25CA |
| Marker on a source-reference chip that carries no match count - the chip a focus-reference rope hangs off. A small lozenge reads as "this is the styling
this rope points at" without competing with the numeric chips beside it. | |
| constexpr const char * | donner::editor::kSourceReferenceChipIcon = "◊" |
| UTF-8 encoding of kSourceReferenceChipCodepoint, as a C string for ImGui's text API. | |
| constexpr char32_t | donner::editor::kSourceChipOverflowCodepoint = 0x2026 |
| Marker drawn beside a chip whose fanout was too large to expand into ropes. | |
| constexpr const char * | donner::editor::kSourceChipOverflowMarker = "…" |
| UTF-8 encoding of kSourceChipOverflowCodepoint, as a C string for ImGui's text API. | |
| constexpr std::array< char32_t, 2 > | donner::editor::kEditorSymbolCodepoints |
| Every non-ASCII codepoint the editor chrome draws, ascending. Both the font atlas ranges and the embedded-font coverage test are built from this. | |
Non-ASCII glyphs the editor chrome draws as text, in one place.
ImGui only rasterizes the codepoints a font is asked for, and only those the font actually has: a codepoint outside the embedded fonts' cmap is silently dropped from the atlas and drawn as the font's fallback character, a literal ?. Keeping the glyphs and the atlas ranges next to each other lets one test assert the whole set is really present in the fonts the editor ships.
|
inlineconstexpr |
Every non-ASCII codepoint the editor chrome draws, ascending. Both the font atlas ranges and the embedded-font coverage test are built from this.