The Gnome Chemistry Utils 0.13.3
|
Rise. More...
#include <text-tag.h>
Public Member Functions | |
RiseTextTag (double rise) | |
virtual | ~RiseTextTag () |
void | Filter (PangoAttrList *l, unsigned start, unsigned end) |
bool | operator== (TextTag const &tag) const |
TextTag * | Duplicate () const |
double | GetRise () const |
gccv::RiseTextTag::RiseTextTag | ( | double | rise | ) |
rise | the vertical offset. |
Constructs a RiseTextTag with rise as vertical offset above the base line. Negative values puts the text under the base line.
virtual gccv::RiseTextTag::~RiseTextTag | ( | ) | [virtual] |
The destructor.
TextTag* gccv::RiseTextTag::Duplicate | ( | ) | const [virtual] |
Creates a copy of the RiseTextTag with the same vertical offset above the base line.
Implements gccv::TextTag.
void gccv::RiseTextTag::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 RiseTextTag class.
Implements gccv::TextTag.
double gccv::RiseTextTag::GetRise | ( | ) | const [inline] |
Definition at line 854 of file text-tag.h.
bool gccv::RiseTextTag::operator== | ( | TextTag const & | tag | ) | const [virtual] |
tag | a TextTag. |
Equality operator.
Implements gccv::TextTag.