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

void wxPdfDocument::SetX ( double  x ) [virtual]

Defines the abscissa of the current position.

If the passed value is negative, it is relative to the right of the page.

Parameters:
xThe value of the abscissa.
See also:
GetX(), GetY(), SetY(), SetXY()

Definition at line 2003 of file pdfdoc.cpp.

References m_w, and m_x.

Referenced by SetXY(), and TextBox().

{
  // Set x position
  if ( x >= 0.0)
  {
    m_x = x;
  }
  else
  {
    m_x = m_w + x;
  }
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index