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