diff options
Diffstat (limited to 'splash/SplashGlyphBitmap.h')
-rw-r--r-- | splash/SplashGlyphBitmap.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/splash/SplashGlyphBitmap.h b/splash/SplashGlyphBitmap.h new file mode 100644 index 0000000..d375b3c --- /dev/null +++ b/splash/SplashGlyphBitmap.h @@ -0,0 +1,28 @@ +//======================================================================== +// +// SplashGlyphBitmap.h +// +// Copyright 2003-2013 Glyph & Cog, LLC +// +//======================================================================== + +#ifndef SPLASHGLYPHBITMAP_H +#define SPLASHGLYPHBITMAP_H + +#include <aconf.h> + +#include "gtypes.h" + +//------------------------------------------------------------------------ +// SplashGlyphBitmap +//------------------------------------------------------------------------ + +struct SplashGlyphBitmap { + int x, y, w, h; // offset and size of glyph + GBool aa; // anti-aliased: true means 8-bit alpha + // bitmap; false means 1-bit + Guchar *data; // bitmap data + GBool freeData; // true if data memory should be freed +}; + +#endif |