00001 /* Grafx2 - The Ultimate 256-color bitmap paint program 00002 00003 Copyright 2008 Yves Rizoud 00004 Copyright 2008 Adrien Destugues 00005 Copyright 1996-2001 Sunset Design (Guillaume Dorme & Karl Maritaud) 00006 00007 Grafx2 is free software; you can redistribute it and/or 00008 modify it under the terms of the GNU General Public License 00009 as published by the Free Software Foundation; version 2 00010 of the License. 00011 00012 Grafx2 is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with Grafx2; if not, see <http://www.gnu.org/licenses/> or 00019 write to the Free Software Foundation, Inc., 00020 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00021 */ 00022 00023 // Initialisation à faire une fois au début du programme 00024 void Initialisation_Texte(void); 00025 // Informe si texte.c a été compilé avec l'option de support TrueType ou pas. 00026 int Support_TrueType(void); 00027 // Ajout d'une fonte à la liste. 00028 void Ajout_fonte(char *Nom); 00029 // Crée une brosse à partir des paramètres de texte demandés. 00030 byte *Rendu_Texte(const char *Chaine, int Numero_fonte, int Taille, int AntiAlias, int Bold, int Italic, int *Largeur, int *Hauteur); 00031 // Trouve le libellé d'affichage d'une fonte par son numéro 00032 char * Libelle_fonte(int Indice); 00033 // Trouve le nom d'une fonte par son numéro 00034 char * Nom_fonte(int Indice); 00035 // Vérifie si une fonte donnée est TrueType 00036 char * TrueType_fonte(int Indice); 00037 // Nombre de fontes déclarées 00038 extern int Fonte_nombre;
1.5.8