1 /*****************************************************************************
2 * video_text.h : text manipulation functions
4 *****************************************************************************/
6 /* Text styles - these are primary text styles, used by the vout_Print function.
7 * They may be ignored or interpreted by higher level functions */
8 #define WIDE_TEXT 1 /* interspacing is doubled */
9 #define ITALIC_TEXT 2 /* italic */
10 #define OPAQUE_TEXT 4 /* text with background */
11 #define OUTLINED_TEXT 8 /* border around letters */
12 #define VOID_TEXT 16 /* no foreground */
15 /*****************************************************************************
17 *****************************************************************************/
18 p_vout_font_t vout_LoadFont ( const char *psz_name );
19 void vout_UnloadFont ( p_vout_font_t p_font );
20 void vout_TextSize ( p_vout_font_t p_font, int i_style,
22 int *pi_width, int *pi_height );
23 void vout_Print ( p_vout_font_t p_font, byte_t *p_pic,
24 int i_bytes_per_pixel, int i_bytes_per_line,
25 u32 i_char_color, u32 i_border_color, u32 i_bg_color,
26 int i_style, const char *psz_text );