|
VTK
9.7.20260927
|
#include <vtkFreeTypeToolsPrivate.h>
Private implementation details shared between vtkFreeTypeTools and subclasses that need access to the complete FTThreadLocalData type.
This header is intentionally NOT installed. Per-thread RAII wrapper for a FreeType library instance and its associated FTC caches. One instance is created the first time a thread calls vtkFreeTypeTools::GetThreadLocalData(), and is automatically destroyed when the thread exits.
Definition at line 27 of file vtkFreeTypeToolsPrivate.h.
Public Member Functions | |
| FTThreadLocalData () | |
| ~FTThreadLocalData () | |
| FTThreadLocalData (const FTThreadLocalData &)=delete | |
| FTThreadLocalData & | operator= (const FTThreadLocalData &)=delete |
| bool | InitLibrary () |
| Initialise the FT_Library for this thread. | |
| void | ReleaseCaches () |
| Release all FreeType cache objects owned by this thread. | |
Public Attributes | |
| FT_Library | Library |
| FTC_Manager * | CacheManager |
| FTC_ImageCache * | ImageCache |
| FTC_CMapCache * | CMapCache |
| vtkFreeTypeTools::FTThreadLocalData::FTThreadLocalData | ( | ) |
| vtkFreeTypeTools::FTThreadLocalData::~FTThreadLocalData | ( | ) |
|
delete |
| bool vtkFreeTypeTools::FTThreadLocalData::InitLibrary | ( | ) |
Initialise the FT_Library for this thread.
Returns true on success.
| void vtkFreeTypeTools::FTThreadLocalData::ReleaseCaches | ( | ) |
Release all FreeType cache objects owned by this thread.
|
delete |
| FT_Library vtkFreeTypeTools::FTThreadLocalData::Library |
Definition at line 29 of file vtkFreeTypeToolsPrivate.h.
| FTC_Manager* vtkFreeTypeTools::FTThreadLocalData::CacheManager |
Definition at line 30 of file vtkFreeTypeToolsPrivate.h.
| FTC_ImageCache* vtkFreeTypeTools::FTThreadLocalData::ImageCache |
Definition at line 31 of file vtkFreeTypeToolsPrivate.h.
| FTC_CMapCache* vtkFreeTypeTools::FTThreadLocalData::CMapCache |
Definition at line 32 of file vtkFreeTypeToolsPrivate.h.