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

#include <winlayout.hxx>

Inheritance diagram for WinGlyphCache:

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 74 of file win/winlayout.hxx.

Constructor & Destructor Documentation

WinGlyphCache::WinGlyphCache ( )

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

References GlobalWinGlyphCache::get().

virtual WinGlyphCache::~WinGlyphCache ( )

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

References GlobalWinGlyphCache::get().

Member Function Documentation

WinGlyphDrawElement& WinGlyphCache::GetDrawElement ( int  nGlyphIndex)
bool WinGlyphCache::IsGlyphCached ( int  nGlyphIndex) const

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

Referenced by GetDrawElement(), and PutDrawElementInCache().

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

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

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

Member Data Documentation

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

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

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