Font style.
More...
#include <text-tag.h>
Detailed Description
Font style.
TextTag class for font style.
Definition at line 358 of file text-tag.h.
Constructor & Destructor Documentation
gccv::StyleTextTag::StyleTextTag |
( |
PangoStyle |
style | ) |
|
- Parameters
-
Constructs a StyleTextTag with style as font style.
virtual gccv::StyleTextTag::~StyleTextTag |
( |
| ) |
|
|
virtual |
Member Function Documentation
TextTag* gccv::StyleTextTag::Duplicate |
( |
| ) |
const |
|
virtual |
void gccv::StyleTextTag::Filter |
( |
PangoAttrList * |
l, |
|
|
unsigned |
start, |
|
|
unsigned |
end |
|
) |
| |
|
virtual |
- Parameters
-
l | a PangoAttrList. |
start | the start index of the relevant text. |
end | the end index of the relevant text. |
Filter method for the StyleTextTag class.
Implements gccv::TextTag.
PangoStyle gccv::StyleTextTag::GetStyle |
( |
| ) |
const |
|
inline |
- Returns
- the font style.
Definition at line 396 of file text-tag.h.
bool gccv::StyleTextTag::operator== |
( |
TextTag const & |
tag | ) |
const |
|
virtual |
- Parameters
-
Equality operator.
- Returns
- true if tag is a StyleTextTag and has the same font style than this.
Implements gccv::TextTag.
The documentation for this class was generated from the following file: