Logo Search packages:      
Sourcecode: blender version File versions

FTCharToGlyphIndexMap Class Reference

#include <FTCharToGlyphIndexMap.h>

List of all members.


Detailed Description

Provides a non-STL alternative to the STL map<unsigned long, unsigned long> which maps character codes to glyph indices inside FTCharmap.

Implementation:

Caveats:

Definition at line 27 of file FTCharToGlyphIndexMap.h.


Public Types

enum  { NumberOfBuckets = 256, BucketSize = 256, IndexNotFound = -1 }
typedef unsigned long CharacterCode
typedef signed long GlyphIndex

Public Member Functions

void clear ()
const GlyphIndex find (CharacterCode c)
void insert (CharacterCode c, GlyphIndex g)

Private Attributes

GlyphIndex ** Indices

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

Generated by  Doxygen 1.6.0   Back to index