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

void PoDoFo::PdfPainter::SetStrokeWidth ( double  dWidth ) [inherited]

Set the line width for all stroking operations.

Parameters:
dWidthin PDF User Units.

Definition at line 327 of file PdfPainter.cpp.

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

Referenced by PoDoFo::PdfTable::Draw(), PoDoFo::PdfPainter::DrawText(), and SetStrokeWidthMM().

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

    m_oss.str("");
    m_oss << dWidth << " w" << std::endl;
    m_pCanvas->Append( m_oss.str() );
}

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