Skip to content

ludus::graphics::text::TextQuad

Ludus Wiki · API overview · Browse API

Struct

A copied shaped placement; Renderer never interprets Unicode or font objects.

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

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

Fields

Rectangle

foundation::math::Vector4 ludus::graphics::text::TextQuad::Rectangle
Baseline-relative physical-pixel rectangle, top-left edges.

Related types: foundation::math::Vector4

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

Uv

foundation::math::Vector4 ludus::graphics::text::TextQuad::Uv
Exact coverage cell from the atlas version prepared for this run.

Related types: foundation::math::Vector4

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

Cluster

foundation::uint32 ludus::graphics::text::TextQuad::Cluster = 0
Original UTF-8 byte cluster for diagnostic provenance, not a caret API.

Related types: foundation::uint32

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