|
|
@ -597,7 +597,7 @@ 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)
|
|
|
|
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
|
|
|
|
#ifdef USE_QT4
|
|
|
|
printf("[WARNING] KisTQPaintDeviceCanvasPainter::drawText partially implemented\n\r");
|
|
|
|
printf("[WARNING] KisTQPaintDeviceCanvasPainter::drawText partially implemented\n");
|
|
|
|
m_painter.drawText(x, y, w, h, flags, text, len, br);
|
|
|
|
m_painter.drawText(x, y, w, h, flags, text, len, br);
|
|
|
|
#else // USE_QT4
|
|
|
|
#else // USE_QT4
|
|
|
|
m_painter.drawText(x, y, w, h, flags, text, len, br, intern);
|
|
|
|
m_painter.drawText(x, y, w, h, flags, text, len, br, intern);
|
|
|
@ -607,7 +607,7 @@ void KisTQPaintDeviceCanvasPainter::drawText(int x, int y, int w, int h, int fla
|
|
|
|
void KisTQPaintDeviceCanvasPainter::drawText(const TQRect& r, int flags, const TQString& text, int len, TQRect *br, TQTextParag **intern)
|
|
|
|
void KisTQPaintDeviceCanvasPainter::drawText(const TQRect& r, int flags, const TQString& text, int len, TQRect *br, TQTextParag **intern)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
#ifdef USE_QT4
|
|
|
|
#ifdef USE_QT4
|
|
|
|
printf("[WARNING] KisTQPaintDeviceCanvasPainter::drawText partially implemented\n\r");
|
|
|
|
printf("[WARNING] KisTQPaintDeviceCanvasPainter::drawText partially implemented\n");
|
|
|
|
m_painter.drawText(r, flags, text, len, br);
|
|
|
|
m_painter.drawText(r, flags, text, len, br);
|
|
|
|
#else // USE_QT4
|
|
|
|
#else // USE_QT4
|
|
|
|
m_painter.drawText(r, flags, text, len, br, intern);
|
|
|
|
m_painter.drawText(r, flags, text, len, br, intern);
|
|
|
@ -627,7 +627,7 @@ 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)
|
|
|
|
TQRect KisTQPaintDeviceCanvasPainter::boundingRect(int x, int y, int w, int h, int flags, const TQString& text, int len, TQTextParag **intern)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
#ifdef USE_QT4
|
|
|
|
#ifdef USE_QT4
|
|
|
|
printf("[WARNING] KisTQPaintDeviceCanvasPainter::boundingRect partially implemented\n\r");
|
|
|
|
printf("[WARNING] KisTQPaintDeviceCanvasPainter::boundingRect partially implemented\n");
|
|
|
|
return m_painter.boundingRect(x, y, w, h, flags, text, len);
|
|
|
|
return m_painter.boundingRect(x, y, w, h, flags, text, len);
|
|
|
|
#else // USE_QT4
|
|
|
|
#else // USE_QT4
|
|
|
|
return m_painter.boundingRect(x, y, w, h, flags, text, len, intern);
|
|
|
|
return m_painter.boundingRect(x, y, w, h, flags, text, len, intern);
|
|
|
@ -637,7 +637,7 @@ TQRect KisTQPaintDeviceCanvasPainter::boundingRect(int x, int y, int w, int h, i
|
|
|
|
TQRect KisTQPaintDeviceCanvasPainter::boundingRect(const TQRect& r, int flags, const TQString& text, int len, TQTextParag **intern)
|
|
|
|
TQRect KisTQPaintDeviceCanvasPainter::boundingRect(const TQRect& r, int flags, const TQString& text, int len, TQTextParag **intern)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
#ifdef USE_QT4
|
|
|
|
#ifdef USE_QT4
|
|
|
|
printf("[WARNING] KisTQPaintDeviceCanvasPainter::boundingRect partially implemented\n\r");
|
|
|
|
printf("[WARNING] KisTQPaintDeviceCanvasPainter::boundingRect partially implemented\n");
|
|
|
|
return m_painter.boundingRect(r, flags, text, len);
|
|
|
|
return m_painter.boundingRect(r, flags, text, len);
|
|
|
|
#else // USE_QT4
|
|
|
|
#else // USE_QT4
|
|
|
|
return m_painter.boundingRect(r, flags, text, len, intern);
|
|
|
|
return m_painter.boundingRect(r, flags, text, len, intern);
|
|
|
|