text_style_t Struct Reference
[OSD Menu]

Text style. More...


Data Fields

char * psz_fontname
 The name of the font.
int i_font_size
 The font size in pixels.
int i_font_color
 The color of the text 0xRRGGBB (native endianness).
int 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

Formatting style flags.

Referenced by ParseSSAHeader(), ParseUSFHeaderTags(), ProcessNodes(), RenderText(), and text_style_New().

The color of the outline 0xRRGGBB.

Referenced by ParseSSAHeader(), ParseUSFHeaderTags(), and text_style_New().

The transparency of the outline.

0x00 is fully opaque, 0xFF fully transparent

Referenced by ParseSSAHeader(), ParseUSFHeaderTags(), and text_style_New().

The color of the shadow 0xRRGGBB.

Referenced by ParseSSAHeader(), ParseUSFHeaderTags(), and text_style_New().

The transparency of the shadow.

0x00 is fully opaque, 0xFF fully transparent

Referenced by ParseSSAHeader(), ParseUSFHeaderTags(), and text_style_New().

The color of the background 0xRRGGBB.

Referenced by ParseSSAHeader(), and text_style_New().

The transparency of the background.

0x00 is fully opaque, 0xFF fully transparent

Referenced by ParseSSAHeader(), and text_style_New().

Background color for karaoke 0xRRGGBB.

Referenced by ParseSSAHeader(), ParseUSFHeaderTags(), ProcessNodes(), and text_style_New().

The transparency of the karaoke bg.

0x00 is fully opaque, 0xFF fully transparent

Referenced by ParseSSAHeader(), ParseUSFHeaderTags(), ProcessNodes(), and text_style_New().

The width of the outline in pixels.

Referenced by ParseSSAHeader(), ParseUSFHeaderTags(), and text_style_New().

The width of the shadow in pixels.

Referenced by ParseSSAHeader(), ParseUSFHeaderTags(), and text_style_New().

The spaceing between glyphs in pixels.

Referenced by ParseSSAHeader(), ParseUSFHeaderTags(), and text_style_New().


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

Generated on Fri Nov 20 08:06:24 2009 for VLC by  doxygen 1.5.6