koffice/krita/tools

Boudewijn Rempt boud at valdyas.org
Thu Aug 26 19:51:37 CEST 2004


On Thursday 26 August 2004 12:56, Adrian Page wrote:
> On Thursday 26 August 2004 8:03 am, Boudewijn Rempt wrote:
> > Maybe it's even easier to do the following if there's no selection yet:
> >
> > create temporary selection
> > floodfill the selection according to the outlines in the parent layer
> > (that makes things easier, I guess, because you don't have to take
> > pattern/color fill into account.)
> >
> > then the code paths for filling selection/filling outline join, and do
> > what you suggested:
> >
> > create temporary layer as big as the selected rect (working on that
> > one...) fill the layer with color (KisPainter::fill) or pattern or masked
> > pattern
> >
> > compose layer & selection
> >
> > blit the temporary layer on the target layer
> >
> > remove temporary selection, if exists.
>
> Yes, that would simplify the filling code and you could use it for all
> kinds of fill operation.
>

What do you think, Bart?

-- 
Boudewijn Rempt | http://www.valdyas.org/fading/index.cgi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20040826/bcbc27c3/attachment.pgp


More information about the kimageshop mailing list