pleyo.com

BAL::BCGlyphBufferFreeType Class Reference

#include <BCGlyphBufferFreeType.h>

Inheritance diagram for BAL::BCGlyphBufferFreeType:

BAL::BIGlyphBuffer

List of all members.

Public Member Functions

virtual bool isEmpty () const
 Tell if the glyph buffer is empty.
virtual int size () const
 Return the glyph buffer size.
virtual void clear ()
 Clear all the glyph buffer.
virtual
GlyphBufferGlyph
glyphs (int from)
virtual const
GlyphBufferGlyph
glyphs (int from) const
virtual
GlyphBufferAdvance
advances (int from)
virtual const
GlyphBufferAdvance
advances (int from) const
virtual const
BTFontData * 
fontDataAt (int index) const
 Return the FontData at the given index.
virtual FloatSize offsetAt (int index) const
virtual void swap (int index1, int index2)
 Swaps two indexes of the GlyphBuffer This move the glyph, width and FontData altogether.
virtual Glyph glyphAt (int index) const
 Returns the glyph at the given index.
virtual float advanceAt (int index) const
 Returns the width of the glyph stored at the given index.
virtual void add (Glyph glyph, const BTFontData *font, float width, const FloatSize *offset=0)


Member Function Documentation

bool BAL::BCGlyphBufferFreeType::isEmpty (  )  const [virtual]

Tell if the glyph buffer is empty.

Returns:
bool true if empty, false otherwise

Implements BAL::BIGlyphBuffer.

int BAL::BCGlyphBufferFreeType::size (  )  const [virtual]

Return the glyph buffer size.

Returns:
size of glyph buffer

Implements BAL::BIGlyphBuffer.

void BAL::BCGlyphBufferFreeType::clear (  )  [virtual]

Clear all the glyph buffer.

Implements BAL::BIGlyphBuffer.

GlyphBufferGlyph * BAL::BCGlyphBufferFreeType::glyphs ( int  from  )  [virtual]

Implements BAL::BIGlyphBuffer.

const GlyphBufferGlyph * BAL::BCGlyphBufferFreeType::glyphs ( int  from  )  const [virtual]

Implements BAL::BIGlyphBuffer.

GlyphBufferAdvance * BAL::BCGlyphBufferFreeType::advances ( int  from  )  [virtual]

Implements BAL::BIGlyphBuffer.

const GlyphBufferAdvance * BAL::BCGlyphBufferFreeType::advances ( int  from  )  const [virtual]

Implements BAL::BIGlyphBuffer.

const BTFontData * BAL::BCGlyphBufferFreeType::fontDataAt ( int  index  )  const [virtual]

Return the FontData at the given index.

Parameters:
[in] index of the glyph

Implements BAL::BIGlyphBuffer.

FloatSize BAL::BCGlyphBufferFreeType::offsetAt ( int  index  )  const [virtual]

Implements BAL::BIGlyphBuffer.

void BAL::BCGlyphBufferFreeType::swap ( int  index1,
int  index2 
) [virtual]

Swaps two indexes of the GlyphBuffer This move the glyph, width and FontData altogether.

Parameters:
[in] index1 of the first glyph to be swapped
[in] index2 of the second glyph

Implements BAL::BIGlyphBuffer.

Glyph BAL::BCGlyphBufferFreeType::glyphAt ( int  index  )  const [virtual]

Returns the glyph at the given index.

Parameters:
[in] index of the glyph
Returns:
glyph the glyph found

Implements BAL::BIGlyphBuffer.

float BAL::BCGlyphBufferFreeType::advanceAt ( int  index  )  const [virtual]

Returns the width of the glyph stored at the given index.

Parameters:
[in] index of the glyph
Returns:
float the width

Implements BAL::BIGlyphBuffer.

void BAL::BCGlyphBufferFreeType::add ( Glyph  glyph,
const BTFontData *  font,
float  width,
const FloatSize *  offset = 0 
) [virtual]


The documentation for this class was generated from the following files:
Generated on Wed Nov 21 20:04:19 2007 for Origyn Web Browser by Doxygen 1.5.3

pleyo.com
pleyo.com