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

void wxPdfDocument::SetLineWidth ( double  width ) [virtual]

Defines the line width.

By default, the value equals 0.2 mm. The method can be called before the first page is created and the value is retained from page to page.

widthThe width.
See also:
Line(), Rect(), Cell(), MultiCell()

Definition at line 563 of file pdfdoc.cpp.

References Double2String(), m_k, m_lineWidth, m_page, and OutAscii().

Referenced by Arrow(), Marker(), wxPdfBarCodeCreator::PostNet(), SetLineStyle(), and WriteXmlCell().

  // Set line width
  m_lineWidth = width;
  if (m_page > 0)
    OutAscii(Double2String(width*m_k,2)+ wxString(_T(" w")));

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