Font family.
More...
#include <text-tag.h>
Detailed Description
Font family.
TextTag class for font family.
Definition at line 253 of file text-tag.h.
Constructor & Destructor Documentation
gccv::FamilyTextTag::FamilyTextTag |
( |
std::string const & |
family | ) |
|
- Parameters
-
family | a font family name. |
Constructs a FamilyTextTag with family as font family name.
gccv::FamilyTextTag::FamilyTextTag |
( |
char const * |
family | ) |
|
- Parameters
-
family | a font family name. |
Constructs a FamilyTextTag with family as font family name.
virtual gccv::FamilyTextTag::~FamilyTextTag |
( |
| ) |
|
|
virtual |
Member Function Documentation
TextTag* gccv::FamilyTextTag::Duplicate |
( |
| ) |
const |
|
virtual |
void gccv::FamilyTextTag::Filter |
( |
PangoAttrList * |
l, |
|
|
unsigned |
start, |
|
|
unsigned |
end |
|
) |
| |
|
virtual |
- Parameters
-
l | a PangoAttrList. |
start | the start index of the relevant text. |
end | the end index of the relevant text. |
Filter method for the FamilyTextTag class.
Implements gccv::TextTag.
std::string const& gccv::FamilyTextTag::GetFamily |
( |
| ) |
const |
|
inline |
bool gccv::FamilyTextTag::operator== |
( |
TextTag const & |
tag | ) |
const |
|
virtual |
- Parameters
-
Equality operator.
- Returns
- true if tag is a FamilyTextTag and has the same font family name than this.
Implements gccv::TextTag.
The documentation for this class was generated from the following file: