#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 |
TextTag class for text strikethrough.
Definition at line 664 of file text-tag.h.
gccv::StrikethroughTextTag::StrikethroughTextTag | ( | TextDecoration | strikethrough, | |
GOColor | color = GO_COLOR_BLACK | |||
) |
strikethrough | a TextDecoration. | |
color | the line color. |
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. |
Implements gccv::TextTag.
TextDecoration gccv::StrikethroughTextTag::GetStrikethrough | ( | ) | const [inline] |
bool gccv::StrikethroughTextTag::operator== | ( | TextTag const & | tag | ) | const [virtual] |
tag | a TextTag. |
Implements gccv::TextTag.