LibreOffice Module vcl (master) 1
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
vcl::TrueTypeTable Class Referenceabstract

#include <ttcr.hxx>

Inheritance diagram for vcl::TrueTypeTable:

Public Member Functions

virtual ~TrueTypeTable ()
virtual int GetRawData (TableEntry *)=0
 This function converts the data of a TrueType table to a raw array of bytes. More...

Public Attributes

sal_uInt32 m_tag = 0
std::unique_ptr< sal_uInt8[]> m_rawdata

Protected Member Functions

 TrueTypeTable (sal_uInt32 tag_)

Detailed Description

Definition at line 91 of file ttcr.hxx.

Constructor & Destructor Documentation

◆ TrueTypeTable()

vcl::TrueTypeTable::TrueTypeTable ( sal_uInt32  tag_)

Definition at line 93 of file ttcr.hxx.

◆ ~TrueTypeTable()

vcl::TrueTypeTable::~TrueTypeTable ( )

Definition at line 276 of file ttcr.cxx.

Member Function Documentation

◆ GetRawData()

virtual int vcl::TrueTypeTable::GetRawData ( TableEntry )
pure virtual

This function converts the data of a TrueType table to a raw array of bytes.

It may allocates the memory for it and returns the size of the raw data in bytes. If memory is allocated it does not need to be freed by the caller of this function, since the pointer to it is stored in the TrueTypeTable and it is freed by the destructor


Implemented in vcl::TrueTypeTableGeneric, vcl::TrueTypeTableHead, vcl::TrueTypeTableHhea, vcl::TrueTypeTableLoca, vcl::TrueTypeTableMaxp, vcl::TrueTypeTableGlyf, vcl::TrueTypeTableCmap, vcl::TrueTypeTableName, and vcl::TrueTypeTablePost.

Member Data Documentation

◆ m_rawdata

std::unique_ptr<sal_uInt8[]> vcl::TrueTypeTable::m_rawdata

◆ m_tag

sal_uInt32 vcl::TrueTypeTable::m_tag = 0

Definition at line 108 of file ttcr.hxx.

Referenced by vcl::TrueTypeTableGeneric::GetRawData().

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