2015-12-30 06:41:46 +00:00
|
|
|
#if defined(Hiro_Font)
|
2013-03-15 13:11:33 +00:00
|
|
|
|
2015-12-30 06:41:46 +00:00
|
|
|
namespace hiro {
|
2013-03-15 13:11:33 +00:00
|
|
|
|
2015-12-30 06:41:46 +00:00
|
|
|
struct pFont {
|
|
|
|
static auto size(const Font& font, const string& text) -> Size;
|
|
|
|
static auto size(NSFont* font, const string& text) -> Size;
|
|
|
|
static auto family(const string& family) -> string;
|
|
|
|
static auto create(const Font& font) -> NSFont*;
|
2013-03-15 13:11:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
2015-12-30 06:41:46 +00:00
|
|
|
|
|
|
|
#endif
|