31#ifndef __MLV__MLV_TEXT_VA_H__
32#define __MLV__MLV_TEXT_VA_H__
59 int x,
int y,
const char *text,
MLV_Color color, va_list pile
129 const char *text,
int *width,
int *height, va_list pile
151 const char *text,
int *width,
int *height,
const MLV_Font* font,
310 int *result_width,
int *result_height,
343 int *result_width,
int *result_height,
378 int width,
int height,
379 const char* message ,
418 int width,
int height,
419 const char* message ,
459 int width,
int height,
460 const char* message ,
500 int width,
int height,
501 const char* message ,
Uint32 MLV_Color
Définit un type couleur pour la bibliothèque MLV.
Definition MLV_color.h:54
Définit toutes les couleurs disponibles dans la bibliothèque MLV.
struct _MLV_Image MLV_Image
Définit le type Image dans la bibliothèque MLV.
Definition MLV_image.h:53
Ce fichier définit tous les prototypes concernant les fonctions permettant d'insérer des images.
struct _MLV_Font MLV_Font
Definition MLV_text.h:77
MLV_Text_justification
Énumère les différents types de justification du texte.
Definition MLV_text.h:44
MLV_Vertical_position
Énumère les différents types de positions verticales du texte dans une boîte.
Definition MLV_text.h:65
MLV_Horizontal_position
Énumère les différents types de position horizontale du texte dans une boîte.
Definition MLV_text.h:53
Ce fichier définit les différents prototypes des fonctions permmettant d'afficher du texte et des boî...
void MLV_draw_text_box_on_image_va(int x, int y, int width, int height, const char *message, int sizeInterligne, MLV_Color borderColor, MLV_Color textColor, MLV_Color backgroundColor, MLV_Text_justification text_justification, MLV_Horizontal_position horizontal_position, MLV_Vertical_position vertical_position, MLV_Image *image, va_list pile)
Même chose que MLV_draw_text_box() mis à part que le texte n'est pas écrit directement sur l'écran,...
void MLV_get_size_of_text_va(const char *text, int *width, int *height, va_list pile)
Cette fonction calcule la taille du texte qui sera affiché sur l'écran à l'aide de la fonction MLV_dr...
void MLV_draw_text_box_with_font_va(int x, int y, int width, int height, const char *message, const MLV_Font *font, int sizeInterligne, MLV_Color borderColor, MLV_Color textColor, MLV_Color backgroundColor, MLV_Text_justification text_justification, MLV_Horizontal_position horizontal_position, MLV_Vertical_position vertical_position, va_list pile)
Même chose que la fonction MLV_draw_text_box() mis à part que le texte est rendu avec une fonte de ca...
void MLV_draw_text_with_font_va(int x, int y, const char *text, const MLV_Font *font, MLV_Color color, va_list pile)
Écrit du texte sur l'écran en utilisant une couleur et une fonte de caractères données en paramètres.
void MLV_draw_text_box_with_font_on_image_va(int x, int y, int width, int height, const char *message, MLV_Font *font, int sizeInterligne, MLV_Color borderColor, MLV_Color textColor, MLV_Color backgroundColor, MLV_Text_justification text_justification, MLV_Horizontal_position horizontal_position, MLV_Vertical_position vertical_position, MLV_Image *image, va_list pile)
Même chose que la fonction MLV_draw_text_box_with_font() mis à part que le texte n'est pas dessinné d...
void MLV_draw_text_box_va(int x, int y, int width, int height, const char *message, int sizeInterligne, MLV_Color borderColor, MLV_Color textColor, MLV_Color backgroundColor, MLV_Text_justification text_justification, MLV_Horizontal_position horizontal_position, MLV_Vertical_position vertical_position, va_list pile)
Dessine une boîte de taille donnée par l'utilisateur et contenant un texte donné par l'utilisateur.
void MLV_draw_text_with_font_on_image_va(int x, int y, const char *text, const MLV_Font *font, MLV_Color color, MLV_Image *image, va_list pile)
Écrit du texte sur une image en utilisant une couleur et une fonte de caractères données en paramètre...
int MLV_get_size_of_adapted_text_box_with_font_va(const char *message, const MLV_Font *font, int sizeInterligne, int *result_width, int *result_height, va_list pile)
Cette fonction calcule la taille de la boîte de texte qui serait obtenue si vous utilisez la fonction...
void MLV_draw_adapted_text_box_with_font_on_image_va(int x, int y, const char *message, const MLV_Font *font, int sizeInterligne, MLV_Color borderColor, MLV_Color textColor, MLV_Color backgroundColor, MLV_Text_justification text_justification, MLV_Image *image, va_list pile)
Même chose que MLV_draw_adapted_text_box_with_font() mis à part que le texte est rendu sur une image ...
void MLV_draw_adapted_text_box_on_image_va(int x, int y, const char *message, int sizeInterligne, MLV_Color borderColor, MLV_Color textColor, MLV_Color backgroundColor, MLV_Text_justification text_justification, MLV_Image *image, va_list pile)
Même chose que MLV_draw_adapted_text_box() mis à part que le texte est rendu avec une fonte de caract...
void MLV_draw_adapted_text_box_with_font_va(int x, int y, const char *message, const MLV_Font *font, int sizeInterligne, MLV_Color borderColor, MLV_Color textColor, MLV_Color backgroundColor, MLV_Text_justification text_justification, va_list pile)
Même chose que MLV_draw_adapted_text_box() mis à part que le texte est rendu avec une fonte de caract...
int MLV_get_size_of_adapted_text_box_va(const char *message, int sizeInterligne, int *result_width, int *result_height, va_list pile)
Cette fonction calcule la taille de la boîte de texte qui serait obtenue si vous utilisez la fonction...
void MLV_get_size_of_text_with_font_va(const char *text, int *width, int *height, const MLV_Font *font, va_list pile)
Cette fonction calcule la taille du texte qui sera affiché sur l'écran à l'aide de la fonction MLV_dr...
void MLV_draw_adapted_text_box_va(int x, int y, const char *message, int sizeInterligne, MLV_Color borderColor, MLV_Color textColor, MLV_Color backgroundColor, MLV_Text_justification text_justification, va_list pile)
Dessine une boîte contenant du texte.
void MLV_draw_text_va(int x, int y, const char *text, MLV_Color color, va_list pile)
Imprime un texte donné à une position et une couleur données.