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. More... | |
char * | psz_monofontname |
The name of the mono font. More... | |
uint16_t | i_features |
Feature flags (means non default) More... | |
uint16_t | i_style_flags |
Formatting style flags. More... | |
float | f_font_relsize |
The font size in video height %. More... | |
int | i_font_size |
The font size in pixels. More... | |
int | i_font_color |
The color of the text 0xRRGGBB (native endianness) More... | |
uint8_t | i_font_alpha |
The transparency of the text. More... | |
int | i_spacing |
The spaceing between glyphs in pixels. More... | |
int | i_outline_color |
The color of the outline 0xRRGGBB. More... | |
uint8_t | i_outline_alpha |
The transparency of the outline. More... | |
int | i_outline_width |
The width of the outline in pixels. More... | |
int | i_shadow_color |
The color of the shadow 0xRRGGBB. More... | |
uint8_t | i_shadow_alpha |
The transparency of the shadow. More... | |
int | i_shadow_width |
The width of the shadow in pixels. More... | |
int | i_background_color |
The color of the background 0xRRGGBB. More... | |
uint8_t | i_background_alpha |
The transparency of the background. More... | |
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().
int text_style_t::i_background_color |
The color of the background 0xRRGGBB.
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().
int text_style_t::i_font_color |
The color of the text 0xRRGGBB (native endianness)
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().
int text_style_t::i_outline_color |
The color of the outline 0xRRGGBB.
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().
int text_style_t::i_shadow_color |
The color of the shadow 0xRRGGBB.
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().