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

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

Writes the head 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_tHead

Definition at line 1243 of file PdfTTFWriter.cpp.

References PoDoFo::NonPublic::PdfTTFWriter::THead::indexToLocForm, m_tHead, SwapHeadTable(), and PoDoFo::PdfOutputDevice::Write().

Referenced by Write().

{
    // We always write the long loca format
    m_tHead.indexToLocForm = 1;

    if( podofo_is_little_endian() ) 
        SwapHeadTable();

    pDevice->Write( reinterpret_cast<char*>(&m_tHead), sizeof(THead) );
}

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