LibreOffice Module vcl (master) 1
|
Creates a new empty 'loca' table for a TrueType font. More...
#include <ttcr.hxx>
Public Member Functions | |
TrueTypeTableLoca () | |
virtual | ~TrueTypeTableLoca () override |
virtual int | GetRawData (TableEntry *) override |
This function converts the data of a TrueType table to a raw array of bytes. More... | |
Public Member Functions inherited from vcl::TrueTypeTable | |
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 | |
std::unique_ptr< tdata_loca > | m_loca |
Public Attributes inherited from vcl::TrueTypeTable | |
sal_uInt32 | m_tag = 0 |
std::unique_ptr< sal_uInt8[]> | m_rawdata |
Additional Inherited Members | |
Protected Member Functions inherited from vcl::TrueTypeTable | |
TrueTypeTable (sal_uInt32 tag_) | |
Creates a new empty 'loca' table for a TrueType font.
INTERNAL: gets called only from ProcessTables();
vcl::TrueTypeTableLoca::TrueTypeTableLoca | ( | ) |
|
overridevirtual |
|
overridevirtual |
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
Implements vcl::TrueTypeTable.
Definition at line 352 of file ttcr.cxx.
References vcl::TableEntry::data, vcl::TableEntry::length, m_loca, vcl::T_loca, vcl::TableEntry::tag, vcl::TTCR_OK, and vcl::TTCR_ZEROGLYPHS.
std::unique_ptr<tdata_loca> vcl::TrueTypeTableLoca::m_loca |
Definition at line 188 of file ttcr.hxx.
Referenced by GetRawData(), and TrueTypeTableLoca().