[simulator] Kill Cocoa and Console, move Qt4 one level up
[wikipediardware.git] / gui-lib / glyph.h
blob9a0b6df10aef6a2d898481f0e726a2bb5397650d
1 #ifndef GLYPH_H
2 #define GLYPH_H
4 struct glyph {
5 unsigned char width;
6 unsigned char height;
7 signed char top_bearing;
8 unsigned int n_spacing_hints;
9 const char data[0];
10 } __attribute__((packed));
12 int render_string(const int font, int off_x, int off_y, const char*, const int len);
13 void render_glyph(int start_x, int start_y, const struct glyph *glyph);
15 #endif /* GLYPH_H */