Skip to content

ludus::graphics::text::AtlasGlyph

Ludus Wiki · API overview · Browse API

Struct

Cached coverage placement with transparent one-texel gutters and no mipmaps.

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

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

Fields

Uv

foundation::math::Vector4 ludus::graphics::text::AtlasGlyph::Uv
Normalized top-left UV edges (left, top, right, bottom), excluding gutters.

Related types: foundation::math::Vector4

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

Width

foundation::uint32 ludus::graphics::text::AtlasGlyph::Width = 0
Raster width in physical pixels; zero for whitespace.

Related types: foundation::uint32

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

Height

foundation::uint32 ludus::graphics::text::AtlasGlyph::Height = 0
Raster height in physical pixels.

Related types: foundation::uint32

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

BearingLeft

foundation::int32 ludus::graphics::text::AtlasGlyph::BearingLeft = 0
Signed pen-relative left bearing in physical pixels.

Related types: foundation::int32

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

BearingTop

foundation::int32 ludus::graphics::text::AtlasGlyph::BearingTop = 0
Signed distance above baseline to bitmap top in physical pixels.

Related types: foundation::int32

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