MeVisLab Toolbox Reference
macTypeServices.h
Go to the documentation of this file.
1 /*************************************************************************************
2 **
3 ** Copyright 2007, MeVis Medical Solutions AG
4 **
5 ** The user may use this file in accordance with the license agreement provided with
6 ** the Software or, alternatively, in accordance with the terms contained in a
7 ** written agreement between the user and MeVis Medical Solutions AG.
8 **
9 ** For further information use the contact form at https://www.mevislab.de/contact
10 **
11 **************************************************************************************/
12 
13 #ifndef MAC_TYPE_SERVICES_H
14 #define MAC_TYPE_SERVICES_H
15 
17 
18 #if defined(__APPLE__)
19 
21 #include <string>
22 
23 namespace macos {
24 
27  {
28  public:
29 
31  static std::string getFontFilePathForName(const std::string &fontName);
32 
34  static std::string getSystemFontName();
35 
37  static std::string getSystemFontFamilyName();
38 
40  static std::string getUserProportionalPitchFontName();
41 
44 
46  static std::string getUserFixedPitchFontName();
47 
49  static std::string getUserFixedPitchFontFamilyName();
50  };
51 
52 }
53 
54 #endif // __APPLE__
55 #endif // __macTypeServices_H
Type Services.
static std::string getFontFilePathForName(const std::string &fontName)
Return posix file path for given font name (fully specified family-face name of the font) (UTF8)
static std::string getSystemFontName()
Returns the Postscript font name of the Aqua system font used for standard interface items,...
static std::string getSystemFontFamilyName()
Returns the family name of the Aqua system font used for standard interface items,...
static std::string getUserFixedPitchFontName()
Returns the Postscript font name of the font used by default for documents and other text under the u...
static std::string getUserProportionalPitchFontName()
Returns the Postscript font name of the font used by default for documents and other text under the u...
static std::string getUserFixedPitchFontFamilyName()
Returns the family name of the font used by default for documents and other text under the user’s con...
static std::string getUserProportionalPitchFontFamilyName()
Returns the family name of the font used by default for documents and other text under the user’s con...
#define OSXSUPPORT_PUBLIC_API
Symbol visibility macros.
AppleScript support.