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

PdfRect PoDoFo::PdfDestination::GetRect (  ) const [inline]

Get the destination rect Destination must be of type FirR otherwise exception is thrown

the destination rect

Definition at line 314 of file PdfDestination.h.

References PoDoFo::ePdfError_WrongDestinationType, GetType(), and PODOFO_RAISE_ERROR.

    if ( GetType() != ePdfDestinationType_FitR )
        PODOFO_RAISE_ERROR( ePdfError_WrongDestinationType );
    return PdfRect(m_array[2].GetReal(), m_array[3].GetReal(),
                   m_array[4].GetReal(), m_array[5].GetReal());

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index