Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TTFhandle::FT_Library_Wrapper Struct Reference

Thread-local wrapper to the freetype library.

The library gets initialised on demand when Get() is called. It auto-destructs when the thread exits.

Definition at line 53 of file TTF.cxx.

Public Member Functions

 FT_Library_Wrapper ()=default
 
 FT_Library_Wrapper (FT_Library_Wrapper &&)=delete
 
 FT_Library_Wrapper (FT_Library_Wrapper const &)=delete
 
 ~FT_Library_Wrapper ()
 
FT_Library Get ()
 
bool InitCompleted () const
 
FT_Library_Wrapperoperator= (FT_Library_Wrapper &&)=delete
 
FT_Library_Wrapperoperator= (FT_Library_Wrapper const &)=delete
 

Public Attributes

FT_Library _library = nullptr
 

Constructor & Destructor Documentation

◆ FT_Library_Wrapper() [1/3]

TTFhandle::FT_Library_Wrapper::FT_Library_Wrapper ( )
default

◆ FT_Library_Wrapper() [2/3]

TTFhandle::FT_Library_Wrapper::FT_Library_Wrapper ( FT_Library_Wrapper const & )
delete

◆ FT_Library_Wrapper() [3/3]

TTFhandle::FT_Library_Wrapper::FT_Library_Wrapper ( FT_Library_Wrapper && )
delete

◆ ~FT_Library_Wrapper()

TTFhandle::FT_Library_Wrapper::~FT_Library_Wrapper ( )
inline

Definition at line 72 of file TTF.cxx.

Member Function Documentation

◆ Get()

FT_Library TTFhandle::FT_Library_Wrapper::Get ( )
inline

Definition at line 61 of file TTF.cxx.

◆ InitCompleted()

bool TTFhandle::FT_Library_Wrapper::InitCompleted ( ) const
inline

Definition at line 70 of file TTF.cxx.

◆ operator=() [1/2]

FT_Library_Wrapper & TTFhandle::FT_Library_Wrapper::operator= ( FT_Library_Wrapper && )
delete

◆ operator=() [2/2]

FT_Library_Wrapper & TTFhandle::FT_Library_Wrapper::operator= ( FT_Library_Wrapper const & )
delete

Member Data Documentation

◆ _library

FT_Library TTFhandle::FT_Library_Wrapper::_library = nullptr

Definition at line 54 of file TTF.cxx.

Collaboration diagram for TTFhandle::FT_Library_Wrapper:
[legend]

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