15 lines
342 B
C++
15 lines
342 B
C++
#if defined(Hiro_Font)
|
|
|
|
namespace hiro {
|
|
|
|
struct pFont {
|
|
static auto size(const Font& font, const string& text) -> Size;
|
|
static auto size(HFONT hfont, const string& text) -> Size;
|
|
static auto family(const string& family) -> string;
|
|
static auto create(const Font& font) -> HFONT;
|
|
static auto free(HFONT hfont) -> void;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|