#include <djv_common.h>
Public Member Functions | |
| TextWithFontConfig (const String &inText=NullString, const FontConfig &inFontConfig=FontConfig()) | |
| TextWithFontConfig (const TextWithFontConfig &inTWFC) | |
| TextWithFontConfig & | operator= (const TextWithFontConfig &inTWFC) |
| bool | operator== (const TextWithFontConfig &inTWFC) const |
| bool | operator!= (const TextWithFontConfig &inTWFC) const |
| bool | isEmpty () const |
| void | clear () |
Public Attributes | |
| String | text |
| FontConfig | fontConfig |
Definition at line 388 of file djv_common.h.
| Celartem::DjVu::TextWithFontConfig::TextWithFontConfig | ( | const String & | inText = NullString, |
|
| const FontConfig & | inFontConfig = FontConfig() | |||
| ) | [inline] |
Initializes an instance.
| inText | Text. | |
| inFontConfig | Font configuration for the text. |
Definition at line 407 of file djv_common.h.
| Celartem::DjVu::TextWithFontConfig::TextWithFontConfig | ( | const TextWithFontConfig & | inTWFC | ) | [inline] |
Duplicate an instance.
| inTWFC | An instance to duplicate. |
Definition at line 419 of file djv_common.h.
| TextWithFontConfig& Celartem::DjVu::TextWithFontConfig::operator= | ( | const TextWithFontConfig & | inTWFC | ) | [inline] |
Duplicate an instance.
| inTWFC | An instance to duplicate. |
Definition at line 431 of file djv_common.h.
| bool Celartem::DjVu::TextWithFontConfig::operator== | ( | const TextWithFontConfig & | inTWFC | ) | const [inline] |
Compare this instance with another (check equality).
| inFontConfig | Another TextWithFontConfig instance to compare with. |
true if no difference between the instances. Definition at line 445 of file djv_common.h.
| bool Celartem::DjVu::TextWithFontConfig::operator!= | ( | const TextWithFontConfig & | inTWFC | ) | const [inline] |
Compare this instance with another (check inequality).
| inFontConfig | Another TextWithFontConfig instance to compare with. |
true if there're any differences between the instances. Definition at line 459 of file djv_common.h.
| bool Celartem::DjVu::TextWithFontConfig::isEmpty | ( | ) | const [inline] |
Determines whether the instance is empty or not.
true if the instance contains any texts; otherwise false. Definition at line 470 of file djv_common.h.
| void Celartem::DjVu::TextWithFontConfig::clear | ( | ) | [inline] |
Clears all the existing data.
Definition at line 478 of file djv_common.h.
A text.
Definition at line 393 of file djv_common.h.
Referenced by clear(), isEmpty(), operator=(), and operator==().
Font configuration.
Definition at line 398 of file djv_common.h.
Referenced by clear(), operator=(), and operator==().