LibreOffice Module vcl (master)  1
Public Member Functions | Protected Attributes | List of all members
WinGlyphCache Class Reference

#include <winlayout.hxx>

Inheritance diagram for WinGlyphCache:
[legend]

Public Member Functions

 WinGlyphCache ()
 
virtual ~WinGlyphCache ()
 
void PutDrawElementInCache (WinGlyphDrawElement &&rElement, int nGlyphIndex)
 
WinGlyphDrawElementGetDrawElement (int nGlyphIndex)
 
bool IsGlyphCached (int nGlyphIndex) const
 

Protected Attributes

std::unordered_map< int, WinGlyphDrawElementmaWinTextureCache
 

Detailed Description

Definition at line 73 of file win/winlayout.hxx.

Constructor & Destructor Documentation

WinGlyphCache::WinGlyphCache ( )
inline

Definition at line 79 of file win/winlayout.hxx.

References GlobalWinGlyphCache::get().

virtual WinGlyphCache::~WinGlyphCache ( )
inlinevirtual

Definition at line 85 of file win/winlayout.hxx.

References GlobalWinGlyphCache::get().

Member Function Documentation

WinGlyphDrawElement& WinGlyphCache::GetDrawElement ( int  nGlyphIndex)
inline

Definition at line 98 of file win/winlayout.hxx.

References GlobalWinGlyphCache::get(), and IsGlyphCached().

bool WinGlyphCache::IsGlyphCached ( int  nGlyphIndex) const
inline

Definition at line 105 of file win/winlayout.hxx.

Referenced by GetDrawElement(), and PutDrawElementInCache().

void WinGlyphCache::PutDrawElementInCache ( WinGlyphDrawElement &&  rElement,
int  nGlyphIndex 
)
inline

Definition at line 91 of file win/winlayout.hxx.

References GlobalWinGlyphCache::get(), and IsGlyphCached().

Member Data Documentation

std::unordered_map<int, WinGlyphDrawElement> WinGlyphCache::maWinTextureCache
protected

Definition at line 76 of file win/winlayout.hxx.


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