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