gccv::WeightTextTag Class Reference

Font weight. More...

#include <text-tag.h>

Inheritance diagram for gccv::WeightTextTag:

gccv::TextTag

List of all members.

Public Member Functions

 WeightTextTag (PangoWeight weight)
virtual ~WeightTextTag ()
void Filter (PangoAttrList *l, unsigned start, unsigned end)
bool operator== (TextTag const &tag) const
TextTagDuplicate () const
PangoWeight GetWeight () const


Detailed Description

Font weight.

TextTag class for font weight.

Definition at line 408 of file text-tag.h.


Constructor & Destructor Documentation

gccv::WeightTextTag::WeightTextTag ( PangoWeight  weight  ) 

Parameters:
weight a font weight.
Constructs a WeightTextTag with weight as font weight.

virtual gccv::WeightTextTag::~WeightTextTag (  )  [virtual]

The destructor.


Member Function Documentation

TextTag* gccv::WeightTextTag::Duplicate (  )  const [virtual]

Creates a copy of the WeightTextTag with the same font weight.

Returns:
the new TextTag.

Implements gccv::TextTag.

void gccv::WeightTextTag::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 WeightTextTag class.

Implements gccv::TextTag.

PangoWeight gccv::WeightTextTag::GetWeight (  )  const [inline]

Returns:
the font weight.

Definition at line 446 of file text-tag.h.

bool gccv::WeightTextTag::operator== ( TextTag const &  tag  )  const [virtual]

Parameters:
tag a TextTag.
Equality operator.
Returns:
true if tag is a WeightTextTag and has the same font weight than this.

Implements gccv::TextTag.


The documentation for this class was generated from the following file:

Generated on Fri Sep 24 15:58:43 2010 for The Gnome Chemistry Utils by  doxygen 1.5.9