gccv::SizeTextTag Class Reference

Font size. More...

#include <text-tag.h>

Inheritance diagram for gccv::SizeTextTag:

gccv::TextTag

List of all members.

Public Member Functions

 SizeTextTag (double size)
virtual ~SizeTextTag ()
void Filter (PangoAttrList *l, unsigned start, unsigned end)
bool operator== (TextTag const &tag) const
TextTagDuplicate () const
double GetSize () const


Detailed Description

Font size.

TextTag class for font size.

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


Constructor & Destructor Documentation

gccv::SizeTextTag::SizeTextTag ( double  size  ) 

Parameters:
size the font size
Constructs a SizeTextTag with size as font size.

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

The destructor.


Member Function Documentation

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

Creates a copy of the SizeTextTag with the same font size.

Returns:
the new TextTag.

Implements gccv::TextTag.

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

Implements gccv::TextTag.

double gccv::SizeTextTag::GetSize (  )  const [inline]

Returns:
the font size.

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

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

Parameters:
tag a TextTag.
Equality operator.
Returns:
true if tag is a SizeTextTag and has the same font size 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