Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Images - Misc - FontC
 

  PUBLIC
FontC::FontC(void)
FontC::FontC(bool)
FontC::FontC(SArray1dC> &)
FontC::operator [](IntT)
FontC::operator [](IntT) const
FontC::Glyphs(void)
FontC::Glyphs(void) const
FontC::IsValid(void) const
FontC::Center(const StringC &)

   FontC   
 
Font for rendering text.
 
include "Ravl/Image/Font.hh"
Source file:Ravl/Image/Base/Font.hh
User Level:Normal
Library:RavlImage
In Scope:RavlImageN

Variables:
SArray1dC> glyphs;

Methods:
FontC()
Default constructor.
Creates an empty font.

FontC(bool)
Load default font.

FontC(SArray1dC<ImageC<ByteT>> & nGlyphs)
Constructor from array of image.

ImageC<ByteT> & operator [](IntT let)
Access character.

const ImageC<ByteT> & operator [](IntT let) const
Access character.

SArray1dC<ImageC<ByteT>> & Glyphs()
Access image array.

const SArray1dC<ImageC<ByteT>> & Glyphs() const
Access image array.

bool IsValid() const
Is this a valid font.

Index2dC Center(const StringC & text)
Get the offset to the center of the string.


Maintainer:Charles Galambos, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002