The Gnome Chemistry Utils 0.13.3
|
Underline. More...
#include <text-tag.h>
Public Member Functions | |
UnderlineTextTag (TextDecoration underline, GOColor color=GO_COLOR_BLACK) | |
virtual | ~UnderlineTextTag () |
void | Filter (PangoAttrList *l, unsigned start, unsigned end) |
bool | operator== (TextTag const &tag) const |
TextTag * | Duplicate () const |
TextDecoration | GetUnderline () const |
gccv::UnderlineTextTag::UnderlineTextTag | ( | TextDecoration | underline, |
GOColor | color = GO_COLOR_BLACK |
||
) |
underline | a TextDecoration. |
color | the line color. |
Constructs a UnderlineTextTag with underline as underline mode and color than line color, default color being black.
virtual gccv::UnderlineTextTag::~UnderlineTextTag | ( | ) | [virtual] |
The destructor.
TextTag* gccv::UnderlineTextTag::Duplicate | ( | ) | const [virtual] |
Creates a copy of the UnderlineTextTag with the same underline mode.
Implements gccv::TextTag.
void gccv::UnderlineTextTag::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 UnderlineTextTag class.
Implements gccv::TextTag.
TextDecoration gccv::UnderlineTextTag::GetUnderline | ( | ) | const [inline] |
Definition at line 598 of file text-tag.h.
bool gccv::UnderlineTextTag::operator== | ( | TextTag const & | tag | ) | const [virtual] |
tag | a TextTag. |
Equality operator.
Implements gccv::TextTag.