Cobbletext  0.2.0
Complex text layout and rendering engine
Public Attributes | List of all members
CobbletextTileInfo Struct Reference

Representation of a rendered glyph for an #CobbletextEngine. More...

#include <tile_info.h>

Public Attributes

CobbletextGlyphID glyph_id
 The glyph ID represented. More...
 
uint32_t atlas_x
 Horizontal offset within a texture atlas. More...
 
uint32_t atlas_y
 Vertical offset within a texture atlas. More...
 

Detailed Description

Representation of a rendered glyph for an #CobbletextEngine.

Member Data Documentation

◆ atlas_x

uint32_t CobbletextTileInfo::atlas_x

Horizontal offset within a texture atlas.

  • Value is 0 if tile packing is not performed.

◆ atlas_y

uint32_t CobbletextTileInfo::atlas_y

Vertical offset within a texture atlas.

  • Value is 0 if tile packing is not performed.

◆ glyph_id

CobbletextGlyphID CobbletextTileInfo::glyph_id

The glyph ID represented.


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