Public Member Functions

gccv::RiseTextTag Class Reference

Rise. More...

#include <text-tag.h>

Inheritance diagram for gccv::RiseTextTag:
gccv::TextTag

List of all members.

Public Member Functions

 RiseTextTag (double rise)
virtual ~RiseTextTag ()
void Filter (PangoAttrList *l, unsigned start, unsigned end)
bool operator== (TextTag const &tag) const
TextTagDuplicate () const
double GetRise () const

Detailed Description

Rise.

TextTag class for text vertical position.

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


Constructor & Destructor Documentation

gccv::RiseTextTag::RiseTextTag ( double  rise  ) 
Parameters:
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.


Member Function Documentation

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

Creates a copy of the RiseTextTag with the same vertical offset above the base line.

Returns:
the new TextTag.

Implements gccv::TextTag.

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

Implements gccv::TextTag.

double gccv::RiseTextTag::GetRise (  )  const [inline]
Returns:
the vertical offset above the base line.

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

bool gccv::RiseTextTag::operator== ( TextTag const &  tag  )  const [virtual]
Parameters:
tag a TextTag.

Equality operator.

Returns:
true if tag is a RiseTextTag and has the same vertical offset above the base line than this.

Implements gccv::TextTag.


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