Definition at line 34 of file TextStyleAttributes.h.
◆ TextStyleAttributes::Attributes
struct TextStyleAttributes::Attributes |
◆ getAttributes()
TextStyleAttributes::getAttributes |
( |
std::string |
options, |
|
|
attributesType & |
attributesValues, |
|
|
uint32_t & |
attributesMask |
|
) |
| |
Gets Attributes of the subtitle.
- Parameters
-
[in] | options | - Json string containing the attributes |
[out] | attributesValues | - Extracted Attribute values (for now they are font size and position) |
[out] | attributesMask | - Mask corresponding to extracted attribute values |
- Returns
- int - 0 for success, -1 for failure
Definition at line 96 of file TextStyleAttributes.cpp.
◆ getFontSize()
TextStyleAttributes::getFontSize |
( |
std::string |
input, |
|
|
FontSize * |
fontSizeOut |
|
) |
| |
|
private |
Get font size value from input string.
- Parameters
-
[in] | input | - input font size value |
[out] | fontSizeOut | - font size option for the input value |
- Returns
- int - 0 for success, -1 for failure
Definition at line 46 of file TextStyleAttributes.cpp.
The documentation for this class was generated from the following files: