[patch] fix line tool
boud at valdyas.org
Sun Mar 7 13:42:55 CET 2004
On Sunday 07 March 2004 00:07, kde at bartcoppens.be wrote:
> I looked a bit at the terrible slowness of the select tool when zoomed in,
> and have come up with attached patch. The problem was the controller ->
> updateCanvas() call, as this function takes a lot of time when zoomed in.
> Replacing it with the update() function of the canvas clears the previous
> select a lot faster. (there still is a drawing error while zoomed in, but
> now the tool is at least usable).
> The updateCanvas() call is also used in the Move strategy, where it
> produces the same slow behaviour at greater zoom levels.
> This patch also adds the funcionality of drawing straight lines with the
> line tool (press shift while moving).
Maybe it's time to apply for a KDE cvs account... I'll commit this now.
Boudewijn Rempt | http://www.valdyas.org/fading/index.cgi
More information about the kimageshop