gccv::StretchTextTag Class Reference

Font stretch. More...

#include <text-tag.h>

Inheritance diagram for gccv::StretchTextTag:

gccv::TextTag

List of all members.

Public Member Functions

 StretchTextTag (PangoStretch stretch)
virtual ~StretchTextTag ()
void Filter (PangoAttrList *l, unsigned start, unsigned end)
bool operator== (TextTag const &tag) const
TextTagDuplicate () const
PangoStretch GetStretch () const


Detailed Description

Font stretch.

TextTag class for font stretch.

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


Constructor & Destructor Documentation

gccv::StretchTextTag::StretchTextTag ( PangoStretch  stretch  ) 

Parameters:
stretch a font stretch.
Constructs a StretchTextTag with stretch as font stretch.

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

The destructor.


Member Function Documentation

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

Creates a copy of the StretchTextTag with the same font stretch.

Returns:
the new TextTag.

Implements gccv::TextTag.

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

Implements gccv::TextTag.

PangoStretch gccv::StretchTextTag::GetStretch (  )  const [inline]

Returns:
the font stretch.

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

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

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