Cobbletext  0.2.0
Complex text layout and rendering engine
tile_info.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "common.h"
4 
5 #ifdef __cplusplus
6 extern "C" {
7 #endif
8 
17 
23  uint32_t atlas_x;
24 
30  uint32_t atlas_y;
31 };
32 
33 #ifdef __cplusplus
34 }
35 #endif
CobbletextTileInfo::atlas_x
uint32_t atlas_x
Horizontal offset within a texture atlas.
Definition: tile_info.h:23
CobbletextTileInfo::atlas_y
uint32_t atlas_y
Vertical offset within a texture atlas.
Definition: tile_info.h:30
CobbletextTileInfo
Representation of a rendered glyph for an #CobbletextEngine.
Definition: tile_info.h:12
CobbletextTileInfo::glyph_id
CobbletextGlyphID glyph_id
The glyph ID represented.
Definition: tile_info.h:16
common.h
CobbletextGlyphID
uint32_t CobbletextGlyphID
Unique glyph ID.
Definition: common.h:31