The Gnome Chemistry Utils
0.14.0
|
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 |
Public Member Functions inherited from gccv::TextTag | |
TextTag (Tag tag, TagPriority priority=TagPriorityFirst) | |
virtual | ~TextTag () |
virtual bool | NeedsNewRun () |
virtual TextTag * | Restrict (TextTag *tag) |
Tag | GetTag (void) const |
TagPriority | GetPriority (void) const |
void | SetStartIndex (unsigned val) |
unsigned | GetStartIndex (void) const |
unsigned & | GetRefStartIndex (void) |
void | SetEndIndex (unsigned val) |
unsigned | GetEndIndex (void) const |
unsigned & | GetRefEndIndex (void) |
bool | GetStacked (void) |
bool | GetNewLine (void) |
Additional Inherited Members | |
Static Public Member Functions inherited from gccv::TextTag | |
static Tag | RegisterTagType () |
static bool | Order (TextTag *first, TextTag *last) |
Static Public Attributes inherited from gccv::TextTag | |
static Tag | MaxTag |
Protected Attributes inherited from gccv::TextTag | |
bool | m_Stacked |
bool | m_NewLine |
gccv::WeightTextTag::WeightTextTag | ( | PangoWeight | weight | ) |
weight | a font weight. |
Constructs a WeightTextTag with weight as font weight.
|
virtual |
The destructor.
|
virtual |
Creates a copy of the WeightTextTag with the same font weight.
Implements gccv::TextTag.
|
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.
|
inline |
Definition at line 446 of file text-tag.h.
|
virtual |
tag | a TextTag. |
Equality operator.
Implements gccv::TextTag.