Fonts
Seduce has a number of built in polygon fonts that can be used to render text.
seduce_font_load
void seduce_font_load(char *name);
Description: load in a .pff font fileseduce_font_count
uint seduce_font_count();
Description: Get the number of fonts currently installed in seduceseduce_font_name
char *seduce_font_name(uint id);
Description: Get the names ofseduce_font_get_by_id
SeduceRenderFont *seduce_font_get_by_id(uint id);
Description: load a font by specifying is id. The ids range form 0 to the numer of installed fonts minus 1. The number of installed fornts can be retrived by calling seduce_font_count().seduce_font_get_by_name
SeduceRenderFont *seduce_font_get_by_name(char *name);
Description: load a font by specifying its name, Returns NULL if no fornt with the specifyed name is found.seduce_font_default_get
SeduceRenderFont *seduce_font_default_get();
Description: get a handle to the current default font. The default font will be used any time funtion that takes a font as a parameter is given a NULL pointer instead.seduce_font_default_set
void seduce_font_default_set(SeduceRenderFont *font);
Description: Set a font as the default font. The default font will be used any time funtion that takes a font as a parameter is given a NULL pointer instead.