#include <ft2build.h>
#include "pgeTexture.h"
Data Structures | |
struct | Glyph |
struct | pgeFont |
Enumerations | |
enum | pgeFontSizeType { PGE_FONT_SIZE_PIXELS = 0, PGE_FONT_SIZE_POINTS } |
Functions | |
int | pgeFontInit (void) |
void | pgeFontShutdown (void) |
pgeFont * | pgeFontLoad (const char *filename, unsigned int fontsize, enum pgeFontSizeType fontsizetype, enum pgeMemoryLocation location) |
pgeFont * | pgeFontLoadMemory (unsigned char *data, int datasize, unsigned int fontsize, enum pgeFontSizeType fontsizetype, enum pgeMemoryLocation location) |
void | pgeFontDestroy (pgeFont *font) |
void | pgeFontActivate (pgeFont *font) |
int | pgeFontPrintf (pgeFont *font, short x, short y, unsigned int color, const char *text,...) |
int | pgeFontPrintfCenter (pgeFont *font, short y, unsigned int color, const char *text,...) |
int | pgeFontMeasureText (pgeFont *font, const char *text) |
int | pgeFontMeasureFormattedText (pgeFont *font, const char *text,...) |
int | pgeFontGetHeight (pgeFont *font) |