libsub
|
A block of text within a subtitle's line. More...
#include <subtitle.h>
Public Member Functions | |
Block (RawSubtitle s) | |
Public Attributes | |
std::string | text |
boost::optional< std::string > | font |
FontSize | font_size |
boost::optional< Effect > | effect |
boost::optional< Colour > | effect_colour |
Colour | colour |
bool | bold |
true to use a bold version of font | |
bool | italic |
true to use an italic version of font | |
bool | underline |
true to underline | |
A block of text within a subtitle's line.
This represents a block of text which has a particular style (font, size, effect, colour etc.)
Block::Block | ( | RawSubtitle | s | ) |
Construct a Block taking any relevant information from a RawSubtitle
FontSize sub::Block::font_size |
font size
std::string sub::Block::text |
Subtitle text in UTF-8