| 1 |
//======================================================================== |
| 2 |
// |
| 3 |
// SplashGlyphBitmap.h |
| 4 |
// |
| 5 |
// Copyright 2003-2013 Glyph & Cog, LLC |
| 6 |
// |
| 7 |
//======================================================================== |
| 8 |
|
| 9 |
#ifndef SPLASHGLYPHBITMAP_H |
| 10 |
#define SPLASHGLYPHBITMAP_H |
| 11 |
|
| 12 |
#include <aconf.h> |
| 13 |
|
| 14 |
#include "gtypes.h" |
| 15 |
|
| 16 |
//------------------------------------------------------------------------ |
| 17 |
// SplashGlyphBitmap |
| 18 |
//------------------------------------------------------------------------ |
| 19 |
|
| 20 |
struct SplashGlyphBitmap { |
| 21 |
int x, y, w, h; // offset and size of glyph |
| 22 |
GBool aa; // anti-aliased: true means 8-bit alpha |
| 23 |
// bitmap; false means 1-bit |
| 24 |
Guchar *data; // bitmap data |
| 25 |
GBool freeData; // true if data memory should be freed |
| 26 |
}; |
| 27 |
|
| 28 |
#endif |