The Gnome Chemistry Utils 0.13.3
|
Font stretch. More...
#include <text-tag.h>
Public Member Functions | |
StretchTextTag (PangoStretch stretch) | |
virtual | ~StretchTextTag () |
void | Filter (PangoAttrList *l, unsigned start, unsigned end) |
bool | operator== (TextTag const &tag) const |
TextTag * | Duplicate () const |
PangoStretch | GetStretch () const |
gccv::StretchTextTag::StretchTextTag | ( | PangoStretch | stretch | ) |
stretch | a font stretch. |
Constructs a StretchTextTag with stretch as font stretch.
virtual gccv::StretchTextTag::~StretchTextTag | ( | ) | [virtual] |
The destructor.
TextTag* gccv::StretchTextTag::Duplicate | ( | ) | const [virtual] |
Creates a copy of the StretchTextTag with the same font stretch.
Implements gccv::TextTag.
void gccv::StretchTextTag::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 StretchTextTag class.
Implements gccv::TextTag.
PangoStretch gccv::StretchTextTag::GetStretch | ( | ) | const [inline] |
Definition at line 546 of file text-tag.h.
bool gccv::StretchTextTag::operator== | ( | TextTag const & | tag | ) | const [virtual] |
tag | a TextTag. |
Equality operator.
Implements gccv::TextTag.