SplashGlyphBitmap.h 679 Bytes
Newer Older
Kristian Høgsberg's avatar
Kristian Høgsberg committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
//========================================================================
//
// SplashGlyphBitmap.h
//
//========================================================================

#ifndef SPLASHGLYPHBITMAP_H
#define SPLASHGLYPHBITMAP_H

//------------------------------------------------------------------------
// SplashGlyphBitmap
//------------------------------------------------------------------------

struct SplashGlyphBitmap {
  int x, y, w, h;		// offset and size of glyph
16
  bool aa;			// anti-aliased: true means 8-bit alpha
Kristian Høgsberg's avatar
Kristian Høgsberg committed
17
				//   bitmap; false means 1-bit
18
  unsigned char *data;			// bitmap data
19
  bool freeData;		// true if data memory should be freed
Kristian Høgsberg's avatar
Kristian Høgsberg committed
20 21 22
};

#endif