VLC 4.0.0-dev
|
Text style. More...
#include <vlc_text_style.h>
Public Types | |
enum | { STYLE_WRAP_DEFAULT = 0 , STYLE_WRAP_CHAR , STYLE_WRAP_NONE } |
Data Fields | |
char * | psz_fontname |
The name of the font. | |
char * | psz_monofontname |
The name of the mono font. | |
uint16_t | i_features |
Feature flags (means non default) | |
uint16_t | i_style_flags |
Formatting style flags. | |
float | f_font_relsize |
The font size in video height %. | |
int | i_font_size |
The font size in pixels. | |
uint32_t | i_font_color |
The color of the text in XRGB. | |
uint8_t | i_font_alpha |
The transparency of the text. | |
int | i_spacing |
The spaceing between glyphs in pixels. | |
uint32_t | i_outline_color |
The color of the outline in XRGB. | |
uint8_t | i_outline_alpha |
The transparency of the outline. | |
int | i_outline_width |
The width of the outline in pixels. | |
uint32_t | i_shadow_color |
The color of the shadow in XRGB. | |
uint8_t | i_shadow_alpha |
The transparency of the shadow. | |
int | i_shadow_width |
The width of the shadow in pixels. | |
uint32_t | i_background_color |
The color of the background in XRGB. | |
uint8_t | i_background_alpha |
The transparency of the background. | |
enum text_style_t:: { ... } | e_wrapinfo |
Text style.
A text style is used to specify the formatting of text. A font renderer can use the supplied information to render the text specified.
anonymous enum |
enum { ... } text_style_t::e_wrapinfo |
Referenced by text_style_Create(), and vout_OSDSegmentSetNoWrap().
float text_style_t::f_font_relsize |
The font size in video height %.
Referenced by text_style_Create().
uint8_t text_style_t::i_background_alpha |
The transparency of the background.
Referenced by text_style_Create().
uint32_t text_style_t::i_background_color |
The color of the background in XRGB.
Referenced by text_style_Create().
uint16_t text_style_t::i_features |
Feature flags (means non default)
Referenced by text_style_Create(), text_style_Merge(), vout_OSDSegment(), and vout_OSDSegmentSetNoWrap().
uint8_t text_style_t::i_font_alpha |
The transparency of the text.
Referenced by text_style_Create(), and vout_OSDSegment().
uint32_t text_style_t::i_font_color |
The color of the text in XRGB.
Referenced by text_style_Create(), and vout_OSDSegment().
int text_style_t::i_font_size |
The font size in pixels.
Referenced by text_style_Create(), and vout_OSDSegment().
uint8_t text_style_t::i_outline_alpha |
The transparency of the outline.
Referenced by text_style_Create(), and vout_OSDSegment().
uint32_t text_style_t::i_outline_color |
The color of the outline in XRGB.
Referenced by text_style_Create().
int text_style_t::i_outline_width |
The width of the outline in pixels.
Referenced by text_style_Create().
uint8_t text_style_t::i_shadow_alpha |
The transparency of the shadow.
Referenced by text_style_Create(), and vout_OSDSegment().
uint32_t text_style_t::i_shadow_color |
The color of the shadow in XRGB.
Referenced by text_style_Create().
int text_style_t::i_shadow_width |
The width of the shadow in pixels.
Referenced by text_style_Create().
int text_style_t::i_spacing |
The spaceing between glyphs in pixels.
Referenced by text_style_Create().
uint16_t text_style_t::i_style_flags |
Formatting style flags.
Referenced by text_style_Create(), and text_style_Merge().
char* text_style_t::psz_fontname |
The name of the font.
Referenced by text_style_Copy(), text_style_Create(), text_style_Delete(), and text_style_Merge().
char* text_style_t::psz_monofontname |
The name of the mono font.
Referenced by text_style_Copy(), text_style_Create(), text_style_Delete(), and text_style_Merge().