76ba042259edd2c20de4401281560c31458c5e7d
[tpg/acess2.git] / Usermode / Applications / axwin4_src / Server / include / IFontFace.hpp
1 /*
2  * Acess2 GUI v4
3  * - By John Hodge (thePowersGang)
4  *
5  * IFont.hpp
6  * - Text drawing (font rendering) primitive
7  */
8 #ifndef _IFONT_HPP_
9 #define _IFONT_HPP_
10
11 #include <string>
12 #include "CRect.hpp"
13 #include "CSurface.hpp"
14
15 namespace AxWin {
16
17 class IFontFace
18 {
19 public:
20         virtual CRect Size(const ::std::string& text, unsigned int Size) const = 0;
21         virtual void Render(CSurface& dest, const CRect& rect, const ::std::string& text, unsigned int Size) = 0;
22 };
23
24 };
25
26 #endif
27

UCC git Repository :: git.ucc.asn.au