Rendering Engine 0.2.9
Modular Graphics Rendering Engine | v0.2.9
rendering_engine::TextBlock2D::ShapedGlyph Struct Reference

Result of text shaping for a single glyph. More...

#include <text_block_2d.hpp>

Public Attributes

std::uint32_t glyphIndex
 
std::uint32_t cluster
 
float xAdvance
 
float yAdvance
 
float xOffset
 
float yOffset
 

Detailed Description

Result of text shaping for a single glyph.

Contains glyph index, pen offsets, and advance values.

Definition at line 159 of file text_block_2d.hpp.

Member Data Documentation

◆ cluster

std::uint32_t rendering_engine::TextBlock2D::ShapedGlyph::cluster

Definition at line 162 of file text_block_2d.hpp.

◆ glyphIndex

std::uint32_t rendering_engine::TextBlock2D::ShapedGlyph::glyphIndex

Definition at line 161 of file text_block_2d.hpp.

◆ xAdvance

float rendering_engine::TextBlock2D::ShapedGlyph::xAdvance

Definition at line 163 of file text_block_2d.hpp.

◆ xOffset

float rendering_engine::TextBlock2D::ShapedGlyph::xOffset

Definition at line 165 of file text_block_2d.hpp.

◆ yAdvance

float rendering_engine::TextBlock2D::ShapedGlyph::yAdvance

Definition at line 164 of file text_block_2d.hpp.

◆ yOffset

float rendering_engine::TextBlock2D::ShapedGlyph::yOffset

Definition at line 166 of file text_block_2d.hpp.


The documentation for this struct was generated from the following file: