#include <BCGlyphBufferFreeType.h>

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) |
| bool BAL::BCGlyphBufferFreeType::isEmpty | ( | ) | const [virtual] |
Tell if the glyph buffer is empty.
Implements BAL::BIGlyphBuffer.
| int BAL::BCGlyphBufferFreeType::size | ( | ) | const [virtual] |
| void BAL::BCGlyphBufferFreeType::clear | ( | ) | [virtual] |
| 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.
| [in] | index | of the glyph |
Implements BAL::BIGlyphBuffer.
| FloatSize BAL::BCGlyphBufferFreeType::offsetAt | ( | int | index | ) | const [virtual] |
Implements BAL::BIGlyphBuffer.
Swaps two indexes of the GlyphBuffer This move the glyph, width and FontData altogether.
| [in] | index1 | of the first glyph to be swapped |
| [in] | index2 | of the second glyph |
Implements BAL::BIGlyphBuffer.
Returns the glyph at the given index.
| [in] | index | of the glyph |
Implements BAL::BIGlyphBuffer.
| float BAL::BCGlyphBufferFreeType::advanceAt | ( | int | index | ) | const [virtual] |
Returns the width of the glyph stored at the given index.
| [in] | index | of the glyph |
Implements BAL::BIGlyphBuffer.
| void BAL::BCGlyphBufferFreeType::add | ( | Glyph | glyph, | |
| const BTFontData * | font, | |||
| float | width, | |||
| const FloatSize * | offset = 0 | |||
| ) | [virtual] |