]>
Commit | Line | Data |
---|---|---|
13db960d JF |
1 | #ifndef GRAPHICSSERVICES_GSFONT_H_ |
2 | #define GRAPHICSSERVICES_GSFONT_H_ | |
3 | ||
4 | #ifdef __cplusplus | |
5 | extern "C" { | |
6 | #endif | |
7 | ||
8 | enum { | |
9 | kGSFontItalicTrait = (1 << 0), | |
10 | kGSFontBoldTrait = (1 << 1), | |
11 | kGSFontExpandedTrait = (1 << 5), | |
12 | kGSFontCondensedTrait = (1 << 6), | |
13 | kGSFontMonoSpaceTrait = (1 << 10), | |
14 | kGSFontVerticalTrait = (1 << 11), | |
15 | }; typedef uint32_t GSFontSymbolicTraits; | |
16 | ||
17 | typedef struct __GSFont *GSFontRef; | |
18 | ||
19 | GSFontRef GSFontCreateWithName(const char *name, GSFontSymbolicTraits traits, float size); | |
20 | ||
21 | #ifdef __cplusplus | |
22 | } | |
23 | #endif | |
24 | ||
25 | #endif/*GRAPHICSSERVICES_GSFONT_H_*/ |