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

void PoDoFo::PdfPainter::Save (  ) [inherited]

Save the current graphics settings onto the graphics stack. Operator 'q' in PDF. This call has to be balanced with a corresponding call to Restore()!

See also:
Restore

Definition at line 1489 of file PdfPainter.cpp.

References PoDoFo::PdfStream::Append(), and PoDoFo::PdfPainter::m_pCanvas.

Referenced by PoDoFo::PdfTable::CheckForNewPage(), PoDoFo::PdfTable::Draw(), PoDoFo::PdfTable::DrawHorizontalBorders(), PoDoFo::PdfPainter::DrawMultiLineText(), and PoDoFo::PdfPainter::DrawText().

{
    PODOFO_RAISE_LOGIC_IF( !m_pCanvas, "Call SetPage() first before doing drawing operations." );

    m_pCanvas->Append( "q\n" );
}

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