#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 |
This structure describes a text flagment with font configuration.
|
inline |
Initializes an instance.
| inText | Text. |
| inFontConfig | Font configuration for the text. |
|
inline |
Duplicate an instance.
| inTWFC | An instance to duplicate. |
|
inline |
Clears all the existing data.
|
inline |
Determines whether the instance is empty or not.
true if the instance contains any texts; otherwise false.
|
inline |
Compare this instance with another (check inequality).
| inFontConfig | Another TextWithFontConfig instance to compare with. |
true if there're any differences between the instances.
|
inline |
Duplicate an instance.
| inTWFC | An instance to duplicate. |
|
inline |
Compare this instance with another (check equality).
| inFontConfig | Another TextWithFontConfig instance to compare with. |
true if no difference between the instances. | FontConfig Celartem::DjVu::TextWithFontConfig::fontConfig |
Font configuration.
Referenced by clear(), operator=(), and operator==().
| String Celartem::DjVu::TextWithFontConfig::text |
A text.
Referenced by clear(), isEmpty(), operator=(), and operator==().