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

void wxPdfDocument::RotatedText ( double  x,
double  y,
const wxString &  txt,
double  angle 
) [virtual]

Prints a rotated text string.

Parameters:
x,:abscissa of the rotation center.
y,:ordinate of the rotation center.
txtString to print
angle,:angle in degrees.

Definition at line 896 of file pdfdoc.cpp.

References Rotate(), StartTransform(), StopTransform(), and Text().

{
  // Text rotated around its origin
  StartTransform();
  Rotate(angle, x, y);
  Text(x, y, txt);
  StopTransform();
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index