X-Git-Url: https://git.saurik.com/iphone-api.git/blobdiff_plain/35e4f7ee05dcff044b339c1be5ad30f038f0e9d8..13db960d8de253da38b145449a208f94af549489:/GraphicsServices/GSFont.h diff --git a/GraphicsServices/GSFont.h b/GraphicsServices/GSFont.h new file mode 100644 index 0000000..2e93391 --- /dev/null +++ b/GraphicsServices/GSFont.h @@ -0,0 +1,25 @@ +#ifndef GRAPHICSSERVICES_GSFONT_H_ +#define GRAPHICSSERVICES_GSFONT_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +enum { + kGSFontItalicTrait = (1 << 0), + kGSFontBoldTrait = (1 << 1), + kGSFontExpandedTrait = (1 << 5), + kGSFontCondensedTrait = (1 << 6), + kGSFontMonoSpaceTrait = (1 << 10), + kGSFontVerticalTrait = (1 << 11), +}; typedef uint32_t GSFontSymbolicTraits; + +typedef struct __GSFont *GSFontRef; + +GSFontRef GSFontCreateWithName(const char *name, GSFontSymbolicTraits traits, float size); + +#ifdef __cplusplus +} +#endif + +#endif/*GRAPHICSSERVICES_GSFONT_H_*/