MeVisLabToolboxReference
|
00001 // **InsertLicense** code author="Felix Ritter" version="1.0" 00002 00006 00007 #ifndef __macTypeServices_H 00008 #define __macTypeServices_H 00009 #if defined(__APPLE__) 00010 00011 #include <string> 00012 00013 namespace macx { 00014 00016 class TypeServices 00017 { 00018 public: 00019 00021 static std::string getFontFilePathForName(const std::string &fontName); 00022 00024 static std::string getSystemFontName(); 00025 00027 static std::string getSystemFontFamilyName(); 00028 00030 static std::string getUserProportionalPitchFontName(); 00031 00033 static std::string getUserProportionalPitchFontFamilyName(); 00034 00036 static std::string getUserFixedPitchFontName(); 00037 00039 static std::string getUserFixedPitchFontFamilyName(); 00040 }; 00041 00042 } 00043 00044 #endif // __APPLE__ 00045 #endif // __macTypeServices_H