source: trunk/src/font.h @ 91

Last change on this file since 91 was 87, checked in by sam, 11 years ago

Naive font renderer prototype.

  • Property svn:keywords set to Id
File size: 264 bytes
Line 
1
2/*
3 * The font object
4 */
5
6#if !defined __DH_FONT_H__
7#define __DH_FONT_H__
8
9class FontData;
10
11class Font
12{
13public:
14    Font(char const *path);
15    ~Font();
16
17    void Print(int x, int y, char const *str);
18
19private:
20    FontData *data;
21};
22
23#endif // __DH_FONT_H__
24
Note: See TracBrowser for help on using the repository browser.