git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19295
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
int size = m_font.GetPointSize();
int size = m_font.GetPointSize();
- long by = y + (long)floor( double(size) * 2.0 / 3.0 ); // approximate baseline
-
- // FIXME only correct for 90 degrees
fprintf(m_pstream, "%d %d moveto\n",
fprintf(m_pstream, "%d %d moveto\n",
- LogicalToDeviceX((wxCoord)(x + size)), LogicalToDeviceY((wxCoord)by) );
+ LogicalToDeviceX(x), LogicalToDeviceY(y));
char buffer[100];
sprintf(buffer, "%.8f rotate\n", angle);
char buffer[100];
sprintf(buffer, "%.8f rotate\n", angle);