1 | //======================================================================== |
2 | // |
3 | // SplashGlyphBitmap.h |
4 | // |
5 | //======================================================================== |
6 | |
7 | #ifndef SPLASHGLYPHBITMAP_H |
8 | #define SPLASHGLYPHBITMAP_H |
9 | |
10 | //------------------------------------------------------------------------ |
11 | // SplashGlyphBitmap |
12 | //------------------------------------------------------------------------ |
13 | |
14 | struct SplashGlyphBitmap |
15 | { |
16 | int x, y, w, h; // offset and size of glyph |
17 | bool aa; // anti-aliased: true means 8-bit alpha |
18 | // bitmap; false means 1-bit |
19 | unsigned char *data; // bitmap data |
20 | bool freeData; // true if data memory should be freed |
21 | }; |
22 | |
23 | #endif |
24 | |