#include <text-tag.h>
Public Member Functions | |
FamilyTextTag (std::string const &family) | |
FamilyTextTag (char const *family) | |
virtual | ~FamilyTextTag () |
void | Filter (PangoAttrList *l, unsigned start, unsigned end) |
bool | operator== (TextTag const &tag) const |
TextTag * | Duplicate () const |
std::string const & | GetFamily () const |
TextTag class for font family.
Definition at line 253 of file text-tag.h.
gccv::FamilyTextTag::FamilyTextTag | ( | std::string const & | family | ) |
gccv::FamilyTextTag::FamilyTextTag | ( | char const * | family | ) |
virtual gccv::FamilyTextTag::~FamilyTextTag | ( | ) | [virtual] |
The destructor.
TextTag* gccv::FamilyTextTag::Duplicate | ( | ) | const [virtual] |
Creates a copy of the FamilyTextTag with the same font family name.
Implements gccv::TextTag.
void gccv::FamilyTextTag::Filter | ( | PangoAttrList * | l, | |
unsigned | start, | |||
unsigned | end | |||
) | [virtual] |
l | a PangoAttrList. | |
start | the start index of the relevant text. | |
end | the end index of the relevant text. |
Implements gccv::TextTag.
std::string const& gccv::FamilyTextTag::GetFamily | ( | ) | const [inline] |
Definition at line 297 of file text-tag.h.
bool gccv::FamilyTextTag::operator== | ( | TextTag const & | tag | ) | const [virtual] |
tag | a TextTag. |
Implements gccv::TextTag.