CartoType API
Public Member Functions | Static Public Member Functions
CartoType::CFreeTypeAccessor Class Reference

#include <cartotype_freetype_accessor.h>

Inheritance diagram for CartoType::CFreeTypeAccessor:
CartoType::CTypefaceAccessor

List of all members.

Public Member Functions

CTypefaceResourceNewTypefaceResource (TResult &aError, const TTypefaceResourceId &aResourceId)
int32 MemoryUsed ()
void ClearCachedData ()

Static Public Member Functions

static CT_IMPORT
CFreeTypeAccessor
New (TResult &aError)

Detailed Description

A typeface accessor class that uses the open-source FreeType library to read typeface files of various types including TrueType and Adobe Type 1.


Member Function Documentation

void CFreeTypeAccessor::ClearCachedData ( ) [virtual]

Clear any cached data.

Implements CartoType::CTypefaceAccessor.

int32 CFreeTypeAccessor::MemoryUsed ( ) [virtual]

Return the number of bytes of heap used by the accessor.

Implements CartoType::CTypefaceAccessor.

CT_EXPORT CFreeTypeAccessor * CFreeTypeAccessor::New ( TResult aError) [static]

Create a FreeType typeface accessor.

CTypefaceResource * CFreeTypeAccessor::NewTypefaceResource ( TResult aError,
const TTypefaceResourceId aResourceId 
) [virtual]

Open the resource (file, memory image, etc.) identified by aResourceId and return a typeface object to manage the resource.

Implements CartoType::CTypefaceAccessor.


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