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. | |
A text style is used to specify the formatting of text. A font renderer can use the supplied information to render the text specified.
The name of the font.
Referenced by CloseDecoder(), ParseSSAHeader(), ParseUSFHeaderTags(), ProcessNodes(), text_style_Copy(), text_style_Delete(), and text_style_New().
The font size in pixels.
Referenced by Create(), CreateFilter(), exec_GetTextSize(), exec_SetTextSize(), Filter(), LoadImage(), MarqueeCallback(), OverlayCallback(), parser_SetTextSize(), ParseSSAHeader(), ParseUSFHeaderTags(), ProcessNodes(), RenderText(), text_style_New(), and unparse_GetTextSize().
The color of the text 0xRRGGBB (native endianness).
Referenced by Create(), CreateFilter(), exec_GetTextColor(), exec_SetTextColor(), MarqueeCallback(), OverlayCallback(), parser_SetTextColor(), ParseSSAHeader(), ParseUSFHeaderTags(), ProcessNodes(), RenderText(), text_style_New(), and unparse_GetTextColor().
The transparency of the text.
0x00 is fully opaque, 0xFF fully transparent
Referenced by Create(), CreateFilter(), exec_GetTextAlpha(), exec_SetTextAlpha(), MarqueeCallback(), OverlayCallback(), parser_SetTextAlpha(), ParseSSAHeader(), ParseUSFHeaderTags(), ProcessNodes(), RenderText(), text_style_New(), and unparse_GetTextAlpha().
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 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().
1.5.6