webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Member Functions | Friends | List of all members
WebCore::WidthCache Class Reference

#include <WidthCache.h>

Public Member Functions

 WidthCache ()
 
float * add (StringView text, float entry)
 
float * add (const TextRun &run, float entry, bool hasKerningOrLigatures, bool hasWordSpacingOrLetterSpacing, GlyphOverflow *glyphOverflow)
 
void clear ()
 
 WidthCache ()
 
float * add (StringView text, float entry)
 
float * add (const TextRun &run, float entry, bool hasKerningOrLigatures, bool hasWordSpacingOrLetterSpacing, GlyphOverflow *glyphOverflow)
 
void clear ()
 

Friends

bool operator== (const SmallStringKey &, const SmallStringKey &)
 
bool operator== (const SmallStringKey &, const SmallStringKey &)
 

Constructor & Destructor Documentation

◆ WidthCache() [1/2]

WebCore::WidthCache::WidthCache ( )
inline

◆ WidthCache() [2/2]

WebCore::WidthCache::WidthCache ( )
inline

Member Function Documentation

◆ add() [1/4]

float* WebCore::WidthCache::add ( StringView  text,
float  entry 
)
inline

◆ add() [2/4]

float* WebCore::WidthCache::add ( StringView  text,
float  entry 
)
inline

◆ add() [3/4]

float* WebCore::WidthCache::add ( const TextRun run,
float  entry,
bool  hasKerningOrLigatures,
bool  hasWordSpacingOrLetterSpacing,
GlyphOverflow glyphOverflow 
)
inline

◆ add() [4/4]

float* WebCore::WidthCache::add ( const TextRun run,
float  entry,
bool  hasKerningOrLigatures,
bool  hasWordSpacingOrLetterSpacing,
GlyphOverflow glyphOverflow 
)
inline

◆ clear() [1/2]

void WebCore::WidthCache::clear ( )
inline

◆ clear() [2/2]

void WebCore::WidthCache::clear ( )
inline

Friends And Related Function Documentation

◆ operator== [1/2]

bool operator== ( const SmallStringKey &  a,
const SmallStringKey &  b 
)
friend

◆ operator== [2/2]

bool operator== ( const SmallStringKey &  a,
const SmallStringKey &  b 
)
friend

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