forked from videolan/vlc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Vincent Seguin
committed
Jan 27, 2000
1 parent
aab60d4
commit 5b22bed
Showing
11 changed files
with
612 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/******************************************************************************* | ||
* video_text.h : text manipulation functions | ||
* (c)1999 VideoLAN | ||
*******************************************************************************/ | ||
|
||
/* Text styles - these are primary text styles, used by the vout_Print function. | ||
* They may be ignored or interpreted by higher level functions */ | ||
#define WIDE_TEXT 1 /* interspacing is doubled */ | ||
#define ITALIC_TEXT 2 /* italic */ | ||
#define TRANSPARENT_TEXT 4 /* transparent text */ | ||
#define OUTLINED_TEXT 8 /* border around letters */ | ||
#define VOID_TEXT 16 /* no foreground */ | ||
|
||
|
||
/******************************************************************************* | ||
* Prototypes | ||
*******************************************************************************/ | ||
p_vout_font_t vout_LoadFont ( char *psz_name ); | ||
void vout_UnloadFont ( p_vout_font_t p_font ); | ||
void vout_TextSize ( p_vout_font_t p_font, int i_style, char *psz_text, | ||
int *pi_width, int *pi_height ); | ||
void vout_Print ( p_vout_font_t p_font, byte_t *p_pic, int i_depth, | ||
int i_bytes_per_pixel, u32 i_char_color, | ||
u32 i_border_color, u32 i_bg_color, | ||
int i_style, char *psz_text ); | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.