[patch] fix line tool

kde at bartcoppens.be kde at bartcoppens.be
Sat Mar 6 00:54:33 CET 2004

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. 
Bart Coppens 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: krita-patch.1
Type: text/x-diff
Size: 7265 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20040306/659b284b/krita-patch-0001.bin

More information about the kimageshop mailing list