Skip to content

ludus::graphics::text::GlyphKey

Ludus Wiki · API overview · Browse API

Struct

Exact glyph-cache key, independent of the CPU font owner's storage addresses.

Declared in modules/graphics/text/include/ludus/graphics/text/coverage_atlas.hpp

#include <ludus/graphics/text/coverage_atlas.hpp>
struct ludus::graphics::text::GlyphKey final

Fields

FontVersion

foundation::uint64 ludus::graphics::text::GlyphKey::FontVersion = 0
Caller-assigned nonzero font-content incarnation; change after reload/restart.

Related types: foundation::uint64

Declared in modules/graphics/text/include/ludus/graphics/text/coverage_atlas.hpp

Glyph

foundation::uint32 ludus::graphics::text::GlyphKey::Glyph = 0
Outline glyph ID produced by shaping, including zero for .notdef.

Related types: foundation::uint32

Declared in modules/graphics/text/include/ludus/graphics/text/coverage_atlas.hpp

PixelHeight

foundation::uint32 ludus::graphics::text::GlyphKey::PixelHeight = 0
Physical raster EM height in pixels, 1..256.

Related types: foundation::uint32

Declared in modules/graphics/text/include/ludus/graphics/text/coverage_atlas.hpp