texte.c File Reference

#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <SDL_ttf.h>
#include <SDL_image.h>
#include "SFont.h"
#include "struct.h"
#include "global.h"
#include "sdlscreen.h"
#include "io.h"
#include "files.h"

Data Structures

struct  T_FONTE

Defines

#define EXTID(a, b, c)   ((((a)&255)<<16) | (((b)&255)<<8) | (((c)&255)))
#define EXTID4(a, b, c, d)   ((((a)&255)<<24) | (((b)&255)<<16) | (((c)&255)<<8) | (((d)&255)))

Functions

int Compare_fontes (T_FONTE *Fonte1, T_FONTE *Fonte2)
void Ajout_fonte (const char *Nom)
char * Nom_fonte (int Indice)
char * Libelle_fonte (int Indice)
int TrueType_fonte (int Indice)
void Initialisation_Texte (void)
int Support_TrueType ()
byteRendu_Texte_TTF (const char *Chaine, int Numero_fonte, int Taille, int AntiAlias, int Bold, int Italic, int *Largeur, int *Hauteur)
byteRendu_Texte_SFont (const char *Chaine, int Numero_fonte, int *Largeur, int *Hauteur)
byteRendu_Texte (const char *Chaine, int Numero_fonte, int Taille, int AntiAlias, int Bold, int Italic, int *Largeur, int *Hauteur)

Variables

T_FONTEListe_fontes_debut
int Fonte_nombre

Define Documentation

#define EXTID ( a,
b,
 )     ((((a)&255)<<16) | (((b)&255)<<8) | (((c)&255)))

Referenced by Ajout_fonte().

#define EXTID4 ( a,
b,
c,
 )     ((((a)&255)<<24) | (((b)&255)<<16) | (((c)&255)<<8) | (((d)&255)))


Function Documentation

int Compare_fontes ( T_FONTE Fonte1,
T_FONTE Fonte2 
)

References T_FONTE::EstImage, and T_FONTE::Libelle.

Referenced by Ajout_fonte().

void Ajout_fonte ( const char *  Nom  ) 

char* Nom_fonte ( int  Indice  ) 

char* Libelle_fonte ( int  Indice  ) 

int TrueType_fonte ( int  Indice  ) 

void Initialisation_Texte ( void   ) 

int Support_TrueType ( void   ) 

Referenced by Bouton_Stats().

byte* Rendu_Texte_TTF ( const char *  Chaine,
int  Numero_fonte,
int  Taille,
int  AntiAlias,
int  Bold,
int  Italic,
int *  Largeur,
int *  Hauteur 
)

byte* Rendu_Texte_SFont ( const char *  Chaine,
int  Numero_fonte,
int *  Largeur,
int *  Hauteur 
)

byte* Rendu_Texte ( const char *  Chaine,
int  Numero_fonte,
int  Taille,
int  AntiAlias,
int  Bold,
int  Italic,
int *  Largeur,
int *  Hauteur 
)


Variable Documentation


Generated on Sat Mar 7 22:45:16 2009 for GrafX2 by  doxygen 1.5.8