#include <text-tag.h>
Public Member Functions | |
WeightTextTag (PangoWeight weight) | |
virtual | ~WeightTextTag () |
void | Filter (PangoAttrList *l, unsigned start, unsigned end) |
bool | operator== (TextTag const &tag) const |
TextTag * | Duplicate () const |
PangoWeight | GetWeight () const |
TextTag class for font weight.
Definition at line 408 of file text-tag.h.
gccv::WeightTextTag::WeightTextTag | ( | PangoWeight | weight | ) |
virtual gccv::WeightTextTag::~WeightTextTag | ( | ) | [virtual] |
The destructor.
TextTag* gccv::WeightTextTag::Duplicate | ( | ) | const [virtual] |
Creates a copy of the WeightTextTag with the same font weight.
Implements gccv::TextTag.
void gccv::WeightTextTag::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.
PangoWeight gccv::WeightTextTag::GetWeight | ( | ) | const [inline] |
bool gccv::WeightTextTag::operator== | ( | TextTag const & | tag | ) | const [virtual] |
tag | a TextTag. |
Implements gccv::TextTag.