VLC  2.2.0-git
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
text_style_t Struct Reference

Text style. More...

Data Fields

char * psz_fontname
 The name of the font.
char * psz_monofontname
 The name of the mono font.
int i_font_size
 The font size in pixels.
int i_font_color
 The color of the text 0xRRGGBB (native endianness)
unsigned i_font_alpha
 The transparency of the text.
int i_style_flags
 Formatting style flags.
int i_outline_color
 The color of the outline 0xRRGGBB.
int i_outline_alpha
 The transparency of the outline.
int i_shadow_color
 The color of the shadow 0xRRGGBB.
int i_shadow_alpha
 The transparency of the shadow.
int i_background_color
 The color of the background 0xRRGGBB.
int i_background_alpha
 The transparency of the background.
int i_karaoke_background_color
 Background color for karaoke 0xRRGGBB.
int i_karaoke_background_alpha
 The transparency of the karaoke bg.
int i_outline_width
 The width of the outline in pixels.
int i_shadow_width
 The width of the shadow in pixels.
int i_spacing
 The spaceing between glyphs in pixels.

Detailed Description

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.

Field Documentation

int text_style_t::i_background_alpha

The transparency of the background.

0x00 is fully opaque, 0xFF fully transparent

Referenced by text_style_New().

int text_style_t::i_background_color

The color of the background 0xRRGGBB.

Referenced by text_style_New().

unsigned text_style_t::i_font_alpha

The transparency of the text.

0x00 is fully opaque, 0xFF fully transparent

Referenced by text_style_New(), and vout_OSDEpgText().

int text_style_t::i_font_color

The color of the text 0xRRGGBB (native endianness)

Referenced by text_style_New(), and vout_OSDEpgText().

int text_style_t::i_font_size

The font size in pixels.

Referenced by text_style_New(), and vout_OSDEpgText().

int text_style_t::i_karaoke_background_alpha

The transparency of the karaoke bg.

0x00 is fully opaque, 0xFF fully transparent

Referenced by text_style_New().

int text_style_t::i_karaoke_background_color

Background color for karaoke 0xRRGGBB.

Referenced by text_style_New().

int text_style_t::i_outline_alpha

The transparency of the outline.

0x00 is fully opaque, 0xFF fully transparent

Referenced by text_style_New().

int text_style_t::i_outline_color

The color of the outline 0xRRGGBB.

Referenced by text_style_New().

int text_style_t::i_outline_width

The width of the outline in pixels.

Referenced by text_style_New().

int text_style_t::i_shadow_alpha

The transparency of the shadow.

0x00 is fully opaque, 0xFF fully transparent

Referenced by text_style_New().

int text_style_t::i_shadow_color

The color of the shadow 0xRRGGBB.

Referenced by text_style_New().

int text_style_t::i_shadow_width

The width of the shadow in pixels.

Referenced by text_style_New().

int text_style_t::i_spacing

The spaceing between glyphs in pixels.

Referenced by text_style_New().

int text_style_t::i_style_flags

Formatting style flags.

Referenced by text_style_New().

char* text_style_t::psz_fontname

The name of the font.

Referenced by text_style_Copy(), text_style_Delete(), and text_style_New().

char* text_style_t::psz_monofontname

The name of the mono font.

Referenced by text_style_Copy(), text_style_Delete(), and text_style_New().


The documentation for this struct was generated from the following file: