Good evening everyone!<br><br>I&#39;m very interested in Krita and would like to join your project.<br><br>The first thing I disliked in Krita was Color Adjustment Curves Filter. It worked quite badly, so i decided to improve it. And here is the patch:<br>
<br>What is done:<br>KCurve:<br>- implemented cubic splines in KCurve widget. Now all the calculations are made inside KCubicSpline template.<br>- faster calculations of the spline because of caching of the coefficients inside the template<br>
- faster (*much faster*) redrawing of the curve because of caching of the _scaled_ @m_pix histogram image in @m_pixmapCache object<br>- fixed &#39;out_of_range&#39; bug when you tried to delete the last point of the curve <br>
<br>KCurve+KisPerChannelWidget<br>- added In/Out spinboxes like in photoshop to allow user to modify the curve with keyboard<br>- with spinboxes you can move the point to any place of the curve, so you can change the order of the points<br>
- added handy function that creates new point in the middle of the curve and focuses on spinboxes to set it<br>- and a few small fixes<br><br><br>The fist patch changes KCurve class. The second one makes KisPerChannelFilter use new features.<br>
<br>PS:<br>What is planned to be done:<br>1) Look through preview mechanism, because it still slows everything down much.<br>2) Let user unselect the point of the curve by clicking on empty area<br>2,5) Hide In/Out controls when nothing selected<br>
3) Far-far-future: color sampler mode for the curve (clicking on the canvas shows the point on the curve)<br><br clear="all"><br>-- <br>Dmitry Kazakov<br>