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

void wxPdfDocument::Ln ( double  h = -1 ) [virtual]

Performs a line break.

The current abscissa goes back to the left margin and the ordinate increases by the amount passed in parameter.

Parameters:
hThe height of the break. By default, the value equals the height of the last printed cell.
See also:
Cell()

Definition at line 1729 of file pdfdoc.cpp.

References m_lasth, m_lMargin, m_x, and m_y.

Referenced by PrepareXmlCell(), and WriteXmlCell().

{
  // Line feed; default value is last cell height
  m_x = m_lMargin;
  if (h < 0)
  {
    m_y += m_lasth;
  }
  else
  {
    m_y += h;
  }
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index