LibreOffice Module vcl (master) 1
|
Creates a new 'post' table of one of the supported formats. More...
#include <ttcr.hxx>
Public Member Functions | |
TrueTypeTablePost (sal_Int32 format, sal_Int32 italicAngle, sal_Int16 underlinePosition, sal_Int16 underlineThickness, sal_uInt32 isFixedPitch) | |
virtual | ~TrueTypeTablePost () 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... | |
Private Attributes | |
sal_uInt32 | m_format |
sal_uInt32 | m_italicAngle |
sal_Int16 | m_underlinePosition |
sal_Int16 | m_underlineThickness |
sal_uInt32 | m_isFixedPitch |
Additional Inherited Members | |
Public Attributes inherited from vcl::TrueTypeTable | |
sal_uInt32 | m_tag = 0 |
std::unique_ptr< sal_uInt8[]> | m_rawdata |
Protected Member Functions inherited from vcl::TrueTypeTable | |
TrueTypeTable (sal_uInt32 tag_) | |
Creates a new 'post' table of one of the supported formats.
vcl::TrueTypeTablePost::TrueTypeTablePost | ( | sal_Int32 | format, |
sal_Int32 | italicAngle, | ||
sal_Int16 | underlinePosition, | ||
sal_Int16 | underlineThickness, | ||
sal_uInt32 | isFixedPitch | ||
) |
Definition at line 736 of file ttcr.cxx.
References m_format, m_isFixedPitch, m_italicAngle, m_underlinePosition, and m_underlineThickness.
|
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 574 of file ttcr.cxx.
References vcl::TableEntry::data, vcl::TableEntry::length, m_format, m_isFixedPitch, m_italicAngle, vcl::TrueTypeTable::m_rawdata, m_underlinePosition, m_underlineThickness, vcl::PutUInt16(), vcl::PutUInt32(), SAL_WARN, vcl::T_post, vcl::TableEntry::tag, vcl::TTCR_OK, vcl::TTCR_POSTFORMAT, and vcl::ttmalloc().
|
private |
Definition at line 285 of file ttcr.hxx.
Referenced by GetRawData(), TrueTypeTablePost(), and ~TrueTypeTablePost().
|
private |
Definition at line 289 of file ttcr.hxx.
Referenced by GetRawData(), and TrueTypeTablePost().
|
private |
Definition at line 286 of file ttcr.hxx.
Referenced by GetRawData(), and TrueTypeTablePost().
|
private |
Definition at line 287 of file ttcr.hxx.
Referenced by GetRawData(), and TrueTypeTablePost().
|
private |
Definition at line 288 of file ttcr.hxx.
Referenced by GetRawData(), and TrueTypeTablePost().