Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CFX_GlyphCache Class Referencefinal

#include <cfx_glyphcache.h>

+ Inheritance diagram for CFX_GlyphCache:
+ Collaboration diagram for CFX_GlyphCache:

Public Member Functions

const CFX_GlyphBitmapLoadGlyphBitmap (const CFX_Font *pFont, uint32_t glyph_index, bool bFontStyle, const CFX_Matrix &matrix, int dest_width, int anti_alias, CFX_TextRenderOptions *text_options)
 
const CFX_PathLoadGlyphPath (const CFX_Font *pFont, uint32_t glyph_index, int dest_width)
 
int GetGlyphWidth (const CFX_Font *font, uint32_t glyph_index, int dest_width, int weight)
 
RetainPtr< CFX_FaceGetFace ()
 
- Public Member Functions inherited from fxcrt::Retainable
 Retainable ()=default
 
bool HasOneRef () const
 
- Public Member Functions inherited from fxcrt::Observable
 Observable ()
 
 Observable (const Observable &that)=delete
 
Observableoperator= (const Observable &that)=delete
 
 ~Observable ()
 
void AddObserver (ObserverIface *pObserver)
 
void RemoveObserver (ObserverIface *pObserver)
 
void NotifyObservers ()
 

Public Attributes

 CONSTRUCT_VIA_MAKE_RETAIN
 

Private Member Functions

 ~CFX_GlyphCache () override
 

Additional Inherited Members

- Protected Member Functions inherited from fxcrt::Retainable
virtual ~Retainable ()=default
 
- Protected Member Functions inherited from fxcrt::Observable
size_t ActiveObserversForTesting () const
 

Detailed Description

Definition at line 30 of file cfx_glyphcache.h.

Member Function Documentation

◆ ~CFX_GlyphCache()

CFX_GlyphCache::~CFX_GlyphCache ( )
overrideprivatedefault

◆ GetFace()

RetainPtr< CFX_Face > CFX_GlyphCache::GetFace ( )
inline

Definition at line 49 of file cfx_glyphcache.h.

◆ GetGlyphWidth()

int CFX_GlyphCache::GetGlyphWidth ( const CFX_Font * font,
uint32_t glyph_index,
int dest_width,
int weight )

Definition at line 215 of file cfx_glyphcache.cpp.

◆ LoadGlyphBitmap()

const CFX_GlyphBitmap * CFX_GlyphCache::LoadGlyphBitmap ( const CFX_Font * pFont,
uint32_t glyph_index,
bool bFontStyle,
const CFX_Matrix & matrix,
int dest_width,
int anti_alias,
CFX_TextRenderOptions * text_options )

Definition at line 145 of file cfx_glyphcache.cpp.

◆ LoadGlyphPath()

const CFX_Path * CFX_GlyphCache::LoadGlyphPath ( const CFX_Font * pFont,
uint32_t glyph_index,
int dest_width )

Definition at line 124 of file cfx_glyphcache.cpp.

References CFX_Font::GetSubstFont(), CFX_Font::IsVertical(), CFX_SubstFont::m_ItalicAngle, and CFX_SubstFont::m_Weight.

+ Here is the call graph for this function:

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_RETAIN

CFX_GlyphCache::CONSTRUCT_VIA_MAKE_RETAIN

Definition at line 32 of file cfx_glyphcache.h.


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