- 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",
- LogicalToDeviceX((wxCoord)(x + size)), LogicalToDeviceY((wxCoord)by) );
-
- char buffer[100];
- sprintf(buffer, "%.8f rotate\n", angle);
- size_t i;
- for (i = 0; i < 100; i++)
- if (buffer[i] == ',') buffer[i] = '.';
- fprintf(m_pstream, buffer);
-
- fprintf( m_pstream, "(" );
- const wxWX2MBbuf textbuf = text.mb_str();
- size_t len = strlen(textbuf);
- for (i = 0; i < len; i++)