Logo Search packages:      
Sourcecode: libpodofo version File versions  Download package

void PoDoFo::NonPublic::PdfTTFWriter::WriteMaxpTable ( PdfOutputDevice pDevice ) [private]

Writes the maxp table at the current position of the output device, handling any necessary conversion from big to little endian.

Parameters:
pDevicewrite at the current position of this device.
See also:
m_tMaxp

Definition at line 1190 of file PdfTTFWriter.cpp.

References m_tMaxp, m_vecGlyphs, PoDoFo::NonPublic::PdfTTFWriter::TMaxP::numGlyphs, SwapMaxpTable(), and PoDoFo::PdfOutputDevice::Write().

Referenced by Write().

{
    m_tMaxp.numGlyphs = m_vecGlyphs.size();

    if( podofo_is_little_endian() )
        SwapMaxpTable();

    pDevice->Write( reinterpret_cast<char*>(&m_tMaxp), sizeof(TMaxP) );
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index