[patch] fix line tool

Boudewijn Rempt boud at valdyas.org
Sat Mar 6 08:51:55 CET 2004


On Saturday 06 March 2004 00:54, kde at bartcoppens.be wrote:
> Hello,
>
> I have played a bit with Krita, and fixed a bug in the line tool. The line
> tool would display the line at the wrong place while drawing. For fixing
> this, I changed the QPoint KisView::viewToWindow(const QPoint& pt)
> function.
>
> The only other tool depending on this function seems to be the rectangular
> select. With this edited viewToWindow function, the code for the select
> tool becomes a bit simpler and is more easy to read.
>
> Attached is the output from cvs diff in my koffice/krita checkout.
>

It looks quite good -- as if the code got quite a bit simpler, and if that 
also means it's more correct, that's fantastic. But I cannot get the patch to 
apply, and that's a bit of a bummer. Can you commit yourself? Otherwise I'll 
have a go at hand-applying, but I'd rather not.

-- 
Boudewijn Rempt | http://www.valdyas.org/fading/index.cgi


More information about the kimageshop mailing list