|
|
|
@ -596,22 +596,12 @@ void KisTQPaintDeviceCanvasPainter::drawText(const TQPoint& point, const TQStrin
|
|
|
|
|
|
|
|
|
|
void KisTQPaintDeviceCanvasPainter::drawText(int x, int y, int w, int h, int flags, const TQString& text, int len, TQRect *br, TQTextParag **intern)
|
|
|
|
|
{
|
|
|
|
|
#ifdef USE_QT4
|
|
|
|
|
printf("[WARNING] KisTQPaintDeviceCanvasPainter::drawText partially implemented\n");
|
|
|
|
|
m_painter.drawText(x, y, w, h, flags, text, len, br);
|
|
|
|
|
#else // USE_QT4
|
|
|
|
|
m_painter.drawText(x, y, w, h, flags, text, len, br, intern);
|
|
|
|
|
#endif // USE_QT4
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void KisTQPaintDeviceCanvasPainter::drawText(const TQRect& r, int flags, const TQString& text, int len, TQRect *br, TQTextParag **intern)
|
|
|
|
|
{
|
|
|
|
|
#ifdef USE_QT4
|
|
|
|
|
printf("[WARNING] KisTQPaintDeviceCanvasPainter::drawText partially implemented\n");
|
|
|
|
|
m_painter.drawText(r, flags, text, len, br);
|
|
|
|
|
#else // USE_QT4
|
|
|
|
|
m_painter.drawText(r, flags, text, len, br, intern);
|
|
|
|
|
#endif // USE_QT4
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void KisTQPaintDeviceCanvasPainter::drawTextItem(int x, int y, const TQTextItem& ti, int textflags)
|
|
|
|
@ -626,22 +616,12 @@ void KisTQPaintDeviceCanvasPainter::drawTextItem(const TQPoint& p, const TQTextI
|
|
|
|
|
|
|
|
|
|
TQRect KisTQPaintDeviceCanvasPainter::boundingRect(int x, int y, int w, int h, int flags, const TQString& text, int len, TQTextParag **intern)
|
|
|
|
|
{
|
|
|
|
|
#ifdef USE_QT4
|
|
|
|
|
printf("[WARNING] KisTQPaintDeviceCanvasPainter::boundingRect partially implemented\n");
|
|
|
|
|
return m_painter.boundingRect(x, y, w, h, flags, text, len);
|
|
|
|
|
#else // USE_QT4
|
|
|
|
|
return m_painter.boundingRect(x, y, w, h, flags, text, len, intern);
|
|
|
|
|
#endif // USE_QT4
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TQRect KisTQPaintDeviceCanvasPainter::boundingRect(const TQRect& r, int flags, const TQString& text, int len, TQTextParag **intern)
|
|
|
|
|
{
|
|
|
|
|
#ifdef USE_QT4
|
|
|
|
|
printf("[WARNING] KisTQPaintDeviceCanvasPainter::boundingRect partially implemented\n");
|
|
|
|
|
return m_painter.boundingRect(r, flags, text, len);
|
|
|
|
|
#else // USE_QT4
|
|
|
|
|
return m_painter.boundingRect(r, flags, text, len, intern);
|
|
|
|
|
#endif // USE_QT4
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int KisTQPaintDeviceCanvasPainter::tabStops() const
|
|
|
|
|