2010-05-07 04:47:10 -05:00
|
|
|
#ifndef _TextRender_H_
|
|
|
|
#define _TextRender_H_
|
|
|
|
|
|
|
|
#include <Font.h>
|
|
|
|
|
|
|
|
class TextRender
|
|
|
|
{
|
2010-07-10 08:58:15 -05:00
|
|
|
public:
|
|
|
|
TextRender() {};
|
|
|
|
virtual ~TextRender() {};
|
|
|
|
|
|
|
|
virtual void Render(BView* target, const char*, int16 num, BPoint pos) = 0;
|
|
|
|
virtual void GetHeight(font_height* height) = 0;
|
|
|
|
virtual void GetEscapements(const char charArray[], int32 numChars, float escapementArray[]) = 0;
|
|
|
|
virtual float Size() = 0;
|
|
|
|
//
|
|
|
|
|
2010-05-07 04:47:10 -05:00
|
|
|
};
|
|
|
|
#endif
|