]> git.saurik.com Git - iphone-api.git/blame - GraphicsServices/GSFont.h
I can't believe I wasted an entire day on this.
[iphone-api.git] / GraphicsServices / GSFont.h
CommitLineData
13db960d
JF
1#ifndef GRAPHICSSERVICES_GSFONT_H_
2#define GRAPHICSSERVICES_GSFONT_H_
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8enum {
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
17typedef struct __GSFont *GSFontRef;
18
19GSFontRef GSFontCreateWithName(const char *name, GSFontSymbolicTraits traits, float size);
20
21#ifdef __cplusplus
22}
23#endif
24
25#endif/*GRAPHICSSERVICES_GSFONT_H_*/