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.
The font size in pixels.
The color of the text 0xRRGGBB (native endianness).
The transparency of the text.
0x00 is fully opaque, 0xFF fully transparent
Formatting style flags.
The color of the outline 0xRRGGBB.
The transparency of the outline.
0x00 is fully opaque, 0xFF fully transparent
The color of the shadow 0xRRGGBB.
The transparency of the shadow.
0x00 is fully opaque, 0xFF fully transparent
The color of the background 0xRRGGBB.
The transparency of the background.
0x00 is fully opaque, 0xFF fully transparent
Background color for karaoke 0xRRGGBB.
The transparency of the karaoke bg.
0x00 is fully opaque, 0xFF fully transparent
The width of the outline in pixels.
The width of the shadow in pixels.
The spaceing between glyphs in pixels.
1.5.1