diff options
Diffstat (limited to 'kimagemapeditor/kimearea.cpp')
-rw-r--r-- | kimagemapeditor/kimearea.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kimagemapeditor/kimearea.cpp b/kimagemapeditor/kimearea.cpp index 52cccf9f..93254d0a 100644 --- a/kimagemapeditor/kimearea.cpp +++ b/kimagemapeditor/kimearea.cpp @@ -336,10 +336,10 @@ void Area::drawAlt(TQPainter & p) { double x,y; - double scalex = p.tqworldMatrix().m11(); -// double scaley = p.tqworldMatrix().m12(); + double scalex = p.worldMatrix().m11(); +// double scaley = p.worldMatrix().m12(); - TQWMatrix oldMatrix = p.tqworldMatrix(); + TQWMatrix oldMatrix = p.worldMatrix(); p.setWorldMatrix(TQWMatrix(1,oldMatrix.m12(), oldMatrix.m21(), 1, oldMatrix.dx(), oldMatrix.dy() )); @@ -379,10 +379,10 @@ void Area::draw(TQPainter & p) { int i=0; - double scalex = p.tqworldMatrix().m11(); -// double scaley = p.tqworldMatrix().m12(); + double scalex = p.worldMatrix().m11(); +// double scaley = p.worldMatrix().m12(); - TQWMatrix oldMatrix = p.tqworldMatrix(); + TQWMatrix oldMatrix = p.worldMatrix(); p.setWorldMatrix(TQWMatrix(1,oldMatrix.m12(), oldMatrix.m21(), 1, oldMatrix.dx(), oldMatrix.dy() )); @@ -992,9 +992,9 @@ void PolyArea::draw(TQPainter & p) if (_finished) - p.tqdrawPolygon ( *_coords,false,0,_coords->count()); + p.drawPolygon ( *_coords,false,0,_coords->count()); else - p.tqdrawPolyline ( *_coords,0,_coords->count()); + p.drawPolyline ( *_coords,0,_coords->count()); /* p.moveTo(_coords->point(0)); |