diff options
Diffstat (limited to 'karbon/karbon_part.cc')
-rw-r--r-- | karbon/karbon_part.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/karbon/karbon_part.cc b/karbon/karbon_part.cc index 64dafd6a..5e7ecb8b 100644 --- a/karbon/karbon_part.cc +++ b/karbon/karbon_part.cc @@ -566,14 +566,14 @@ KarbonPart::paintContent( TQPainter& painter, const TQRect& rect, //VPainter *p = new VKoPainter( painter.device() ); p->begin(); p->setZoomFactor( zoomFactor ); - kdDebug(38000) << "painter.tqworldMatrix().dx() : " << painter.tqworldMatrix().dx() << endl; - kdDebug(38000) << "painter.tqworldMatrix().dy() : " << painter.tqworldMatrix().dy() << endl; + kdDebug(38000) << "painter.worldMatrix().dx() : " << painter.worldMatrix().dx() << endl; + kdDebug(38000) << "painter.worldMatrix().dy() : " << painter.worldMatrix().dy() << endl; kdDebug(38000) << "rect.x() : "<< rect.x() << endl; kdDebug(38000) << "rect.y() : "<< rect.y() << endl; kdDebug(38000) << "rect.width() : "<< rect.width() << endl; kdDebug(38000) << "rect.height() : "<< rect.height() << endl; r = document().boundingBox(); - TQWMatrix mat = painter.tqworldMatrix(); + TQWMatrix mat = painter.worldMatrix(); mat.scale( 1, -1 ); mat.translate( 0, -r.height() * zoomFactor ); p->setWorldMatrix( mat ); |