A text style.
More...
#include <CRNAltoStyles.hpp>
|
enum | FontType { FontType::Undef = 0,
FontType::Serif,
FontType::SansSerif
} |
|
enum | FontWidth { FontWidth::Undef = 0,
FontWidth::Proportional,
FontWidth::Fixed
} |
|
enum | FontStyle {
FontStyle::Undef = 0,
FontStyle::Bold = 1,
FontStyle::Italics = 2,
FontStyle::Subscript = 4,
FontStyle::Superscript = 8,
FontStyle::SmallCaps = 16,
FontStyle::Underline = 32
} |
|
A text style.
- Author
- Yann LEYDIER
Definition at line 47 of file CRNAltoStyles.hpp.
Enumerator |
---|
Undef |
|
Bold |
|
Italics |
|
Subscript |
|
Superscript |
|
SmallCaps |
|
Underline |
|
Definition at line 79 of file CRNAltoStyles.hpp.
Styles::Text::Text |
( |
const Text & |
| ) |
|
|
default |
Styles::Text::Text |
( |
Text && |
| ) |
|
|
default |
virtual Styles::Text::~Text |
( |
| ) |
|
|
inlineoverridevirtual |
Option<uint32_t> Styles::Text::GetFontColor |
( |
| ) |
const |
Option<StringUTF8> Styles::Text::GetFontFamily |
( |
| ) |
const |
double Styles::Text::GetFontSize |
( |
| ) |
const |
Option<FontStyle> Styles::Text::GetFontStyle |
( |
| ) |
const |
Option<FontType> Styles::Text::GetFontType |
( |
| ) |
const |
Option<FontWidth> Styles::Text::GetFontWidth |
( |
| ) |
const |
const Id& Styles::Text::GetId |
( |
| ) |
const |
|
inline |
Text& Styles::Text::operator= |
( |
const Text & |
| ) |
|
|
default |
Text& Styles::Text::operator= |
( |
Text && |
| ) |
|
|
default |
void Styles::Text::SetFontColor |
( |
uint32_t |
fc | ) |
|
void Styles::Text::SetFontFamily |
( |
const StringUTF8 & |
ff | ) |
|
void Styles::Text::SetFontSize |
( |
double |
fs | ) |
|
void Styles::Text::SetFontStyle |
( |
FontStyle |
fs | ) |
|
void Styles::Text::SetFontType |
( |
FontType |
ft | ) |
|
void Styles::Text::SetFontWidth |
( |
FontWidth |
fw | ) |
|
void Styles::Text::UnsetFontColor |
( |
| ) |
|
void Styles::Text::UnsetFontFamily |
( |
| ) |
|
void Styles::Text::UnsetFontStyle |
( |
| ) |
|
void Styles::Text::UnsetFontType |
( |
| ) |
|
void Styles::Text::UnsetFontWidth |
( |
| ) |
|
The documentation for this class was generated from the following file: