2013-03-15 13:11:33 +00:00
|
|
|
namespace phoenix {
|
|
|
|
|
|
|
|
struct pFont {
|
|
|
|
static string serif(unsigned size, string style);
|
|
|
|
static string sans(unsigned size, string style);
|
|
|
|
static string monospace(unsigned size, string style);
|
2013-07-29 09:42:45 +00:00
|
|
|
static Size size(string font, string text);
|
2013-03-15 13:11:33 +00:00
|
|
|
|
2013-07-29 09:42:45 +00:00
|
|
|
static NSFont* cocoaFont(string description);
|
|
|
|
static Size size(NSFont* font, string text);
|
2013-03-15 13:11:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|