<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;">On Tuesday 05 May 2009 19:04:38 Cyrille Berger wrote:<br>
> On Friday 01 May 2009, LukasT.dev@gmail.com wrote:<br>
> > Hi,<br>
> ><br>
> > There are some nice commits from Cyrille in trunk about the preview of<br>
> > the brush on the canvas. So far it is little buggy. When you select the<br>
> > Pixel Brush and select the diameter e.g. 25 and try to paint, you will<br>
> > get the wrong result.<br>
><br>
> I have fixed that problem now.<br>
><br>
> Thinking about code duplication, would be worth to introduce<br>
> KisBrushBasedPaintOpSettings to contains the code for<br>
> paintOutlineRect/paintOutline to avoid duplication.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Yes, now it nicely works for Pixel Brush. There is bug which leaves some pixels from the outline on the canvas til the time you somehow refresh the canvas (turn on and off the layer visibility (eye icon))<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>I commited some code for deform brush. For deform brush I need just <br>
paint the circle with radius. If Cyrille could fix the code for the deform,<br>
I would helped me much. I still don't know what I'm doing wrong.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>I looked at KisBoundaryPainter::paint method but I don't get why it works there and does not work in deform brush.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p></body></html>