00001
00002
00003
00004
00005 #ifndef _PACKED_FONT_16_
00006 #define _PACKED_FONT_16_
00007
00008 #include "packedfontbase.h"
00009
00010 namespace WoopsiUI {
00011
00015 class PackedFont16 : public PackedFontBase
00016 {
00017 public:
00029 PackedFont16(
00030 u8 first, u8 last,
00031 const u16 *glyphData,
00032 const u16 *glyphOffset,
00033 const u8 *glyphWidth,
00034 const u8 height,
00035 const u8 spWidth,
00036 const u8 fixedWidth = 0 )
00037 :
00038 PackedFontBase(first, last, glyphData, glyphOffset, glyphWidth, height, spWidth, fixedWidth) { }
00039
00053 void renderChar(
00054 const u16* pixelData, u16 pixelsPerRow,
00055 u16* bitmap, u16 bitmapWidth,
00056 s16 x, s16 y,
00057 u16 clipX1, u16 clipY1, u16 clipX2, u16 clipY2);
00058 };
00059 }
00060
00061 #endif