Commit 016ce447 authored by Bart Coppens's avatar Bart Coppens

Some more dirtyRect adding in the other KisPainters

svn path=/trunk/koffice/; revision=463839
parent 23f3dbbf
......@@ -185,6 +185,8 @@ void KisConvolutionPainter::applyMatrix(KisKernel * kernel, Q_INT32 x, Q_INT32 y
}
}
addDirtyRect(QRect(x, y, w, h));
emit notifyProgressDone(this);
}
......@@ -105,6 +105,8 @@ void KisFillPainter::fillRect(Q_INT32 x1, Q_INT32 y1, Q_INT32 w, Q_INT32 h, cons
++hiter;
}
}
addDirtyRect(QRect(x1, y1, w, h));
}
void KisFillPainter::fillRect(Q_INT32 x1, Q_INT32 y1, Q_INT32 w, Q_INT32 h, KisPattern * pattern) {
......@@ -145,6 +147,8 @@ void KisFillPainter::fillRect(Q_INT32 x1, Q_INT32 y1, Q_INT32 w, Q_INT32 h, KisP
y+=sh; sy = 0;
}
addDirtyRect(QRect(x1, y1, w, h));
}
// flood filling
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment