5 Mar
2008
5 Mar
'08
9:43 p.m.
On Wed, Mar 05, 2008 at 06:19:49PM +0100, Johannes Hofmann wrote:
Hi,
the patch below simplifies Region::addRectangle () quite a bit. It now simply tries to minimize the sum of the areas of all rectangles in the Region while still covering all rectangles that have been added with addRectangle (). For example if we have
Thereby the total area that is actually redrawn is reduced and the code gets much simpler. However it may now happen that small parts of the screen are drawn that were not requested to be drawn.
OK, forget the extra explanation, I read and understood the code and it looks quite reasonable. Committed. -- Cheers Jorge.-