Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Attributes | List of all members
AutoTDWriteTable< T > Class Template Reference

#include <SkDWrite.h>

Inheritance diagram for AutoTDWriteTable< T >:
AutoDWriteTable

Public Member Functions

 AutoTDWriteTable (IDWriteFontFace *fontFace)
 
const Tget () const
 
const Toperator-> () const
 
- Public Member Functions inherited from AutoDWriteTable
 AutoDWriteTable (IDWriteFontFace *fontFace, UINT32 beTag)
 
 ~AutoDWriteTable ()
 

Static Public Attributes

static const UINT32 tag = DWRITE_MAKE_OPENTYPE_TAG(T::TAG0, T::TAG1, T::TAG2, T::TAG3)
 

Additional Inherited Members

- Public Attributes inherited from AutoDWriteTable
const uint8_t * fData
 
UINT32 fSize
 
BOOL fExists
 

Detailed Description

template<typename T>
class AutoTDWriteTable< T >

Definition at line 71 of file SkDWrite.h.

Constructor & Destructor Documentation

◆ AutoTDWriteTable()

template<typename T >
AutoTDWriteTable< T >::AutoTDWriteTable ( IDWriteFontFace *  fontFace)
inline

Definition at line 74 of file SkDWrite.h.

74: AutoDWriteTable(fontFace, tag) { }
AutoDWriteTable(IDWriteFontFace *fontFace, UINT32 beTag)
Definition: SkDWrite.h:52
static const UINT32 tag
Definition: SkDWrite.h:73

Member Function Documentation

◆ get()

template<typename T >
const T * AutoTDWriteTable< T >::get ( ) const
inline

Definition at line 76 of file SkDWrite.h.

76{ return reinterpret_cast<const T*>(fData); }
const uint8_t * fData
Definition: SkDWrite.h:63
#define T
Definition: precompiler.cc:65

◆ operator->()

template<typename T >
const T * AutoTDWriteTable< T >::operator-> ( ) const
inline

Definition at line 77 of file SkDWrite.h.

77{ return reinterpret_cast<const T*>(fData); }

Member Data Documentation

◆ tag

template<typename T >
const UINT32 AutoTDWriteTable< T >::tag = DWRITE_MAKE_OPENTYPE_TAG(T::TAG0, T::TAG1, T::TAG2, T::TAG3)
static

Definition at line 73 of file SkDWrite.h.


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