pleyo.com

WKAL::FontCache Class Reference

List of all members.

Static Public Member Functions

static const FontDatagetFontData (const Font &, int &familyIndex, FontSelector *)
 get font data
static void releaseFontData (const SimpleFontData *)
 release font data
static const SimpleFontDatagetFontDataForCharacters (const Font &, const UChar *characters, int length)
 get font data for characters
static void platformInit ()
 init platform font
static void getTraitsInFamily (const AtomicString &, Vector< unsigned > &)
 get traits in family
static FontPlatformDatagetCachedFontPlatformData (const FontDescription &, const AtomicString &family, bool checkingAlternateName=false)
 get cached fontPlatformData
static SimpleFontDatagetCachedFontData (const FontPlatformData *)
 get cached FontData
static FontPlatformDatagetLastResortFallbackFont (const FontDescription &)
 get last resort fallback font description
static size_t fontDataCount ()
 get fontData count
static size_t inactiveFontDataCount ()
 get inactive font data count
static void purgeInactiveFontData (int count=INT_MAX)
 purge inactive font data

Friends

class SimpleFontData
class FontFallbackList


Member Function Documentation

static const FontData* WKAL::FontCache::getFontData ( const Font ,
int &  familyIndex,
FontSelector  
) [static]

get font data

Parameters:
[in] : Font
[in] : family index
[in] : font selector
[out] : font data
 FontData *fd = fc->getFontData(f, 0, fs);

static void WKAL::FontCache::releaseFontData ( const SimpleFontData  )  [static]

release font data

Parameters:
[in] : font data
 fc->releaseFontData();

static const SimpleFontData* WKAL::FontCache::getFontDataForCharacters ( const Font ,
const UChar *  characters,
int  length 
) [static]

get font data for characters

Parameters:
[in] : font
[in] : characters
[in] : length
[out] : font data
 SimpleFontData *fd = fc->getFontDataForCharacters(f, chars, 13);

static void WKAL::FontCache::platformInit (  )  [static]

init platform font

 fc->platformInit();

static void WKAL::FontCache::getTraitsInFamily ( const AtomicString &  ,
Vector< unsigned > &   
) [static]

get traits in family

Parameters:
[in] : family name
[in] : traits mask

static FontPlatformData* WKAL::FontCache::getCachedFontPlatformData ( const FontDescription ,
const AtomicString &  family,
bool  checkingAlternateName = false 
) [static]

get cached fontPlatformData

Parameters:
[in] : font description
[in] : family
[in] : checking alternative Name
[out] : FontPlatformData
 FontPlatformData *fpd = fc->getCachedFontPlatformData(fd, fa);

static SimpleFontData* WKAL::FontCache::getCachedFontData ( const FontPlatformData  )  [static]

get cached FontData

Parameters:
[in] : FontPlatformData
[out] : FontData
 SimpleFontData *s = fc->getCachedFontData(fpd)

static FontPlatformData* WKAL::FontCache::getLastResortFallbackFont ( const FontDescription  )  [static]

get last resort fallback font description

Parameters:
[in] : font description
[out] : FontPlatformData
 FontPlatformData *fpd = fc->getLastResortFallbackFont(fd);

static size_t WKAL::FontCache::fontDataCount (  )  [static]

get fontData count

Parameters:
[out] : font data count
 size_t s = fc->fontDataCount();

static size_t WKAL::FontCache::inactiveFontDataCount (  )  [static]

get inactive font data count

Parameters:
[out] : inactive font data count
 size_t s = fc->inactiveFontDataCount();

static void WKAL::FontCache::purgeInactiveFontData ( int  count = INT_MAX  )  [static]

purge inactive font data

Parameters:
[in] : count
 fc->purgeInactiveFontData();


Friends And Related Function Documentation

friend class SimpleFontData [friend]

friend class FontFallbackList [friend]


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

Generated on Mon Jun 30 16:22:07 2008 for Origyn Web Browser by Doxygen 1.5.5

pleyo.com
pleyo.com