1 module prova.graphics.text.glyph; 2 3 import prova.math; 4 5 /// 6 struct Glyph 7 { 8 /// 9 int code; 10 /// 11 int width; 12 /// 13 int height; 14 /// clip to crop the glyph from the font texture 15 Rect clip; 16 /// offset to render the current glyph 17 Vector2 offset; 18 /// offset to render the next glyph 19 Vector2 advance; 20 }