CartoType API
Public Member Functions | Static Public Member Functions | Public Attributes
CartoType::TGlyphKey Class Reference

#include <cartotype_typeface.h>

List of all members.

Public Member Functions

 TGlyphKey (int32 aCode, CTypeface *aTypeface)
bool operator== (const TGlyphKey &aKey) const
bool operator!= (const TGlyphKey &aKey) const
uint32 Hash () const

Static Public Member Functions

static void HashStep (uint32 &aHash, uint32 aValue)

Public Attributes

int32 iCode
CTypefaceiTypeface

Detailed Description

A glyph key uniquely identifies a cached glyph by its character code and typeface.


Constructor & Destructor Documentation

CartoType::TGlyphKey::TGlyphKey ( int32  aCode,
CTypeface aTypeface 
) [inline]

Construct a glyph key with a given code and typeface.


Member Function Documentation

uint32 CartoType::TGlyphKey::Hash ( ) const [inline]

Return the hash value for a glyph key.

bool CartoType::TGlyphKey::operator!= ( const TGlyphKey aKey) const [inline]

Compare two glyph keys for inequality.

bool CartoType::TGlyphKey::operator== ( const TGlyphKey aKey) const [inline]

Compare two glyph keys for equality.


Member Data Documentation

The character code.

The typeface (owned by the CartoType engine).


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