The Gnome Chemistry Utils 0.13.3
|
Font weight. More...
#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 |
gccv::WeightTextTag::WeightTextTag | ( | PangoWeight | weight | ) |
weight | a font weight. |
Constructs a WeightTextTag with weight as font 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. |
Filter method for the WeightTextTag class.
Implements gccv::TextTag.
PangoWeight gccv::WeightTextTag::GetWeight | ( | ) | const [inline] |
Definition at line 446 of file text-tag.h.
bool gccv::WeightTextTag::operator== | ( | TextTag const & | tag | ) | const [virtual] |
tag | a TextTag. |
Equality operator.
Implements gccv::TextTag.