[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: Selections
From: Boudewijn Rempt <boud () valdyas ! org>
Date: 2004-08-24 12:22:44
Message-ID: 200408241422.45253.boud () valdyas ! org
[Download RAW message or body]
On Tuesday 24 August 2004 14:19, Boudewijn Rempt wrote:
> On Tuesday 24 August 2004 14:15, Adrian Page wrote:
> > The main advantage of keeping the loops separate is that the code is a
> > lot simpler, which is always a good thing. And since every paint
> > operation (brush, airbrush, line, fill, gradient, etc) will need to
> > respect the selection, the simplest method would be to write to a
> > temporary paint device, apply the selection to that, then composite,
> > rather than putting selection handling into each inner loop. Of course,
> > if it is too slow, the more efficient route would be the one to take.
> > Perhaps we should experiment and see what works best.
>
> Selections are already paint devices -- not that I'm entirely satisfied,
> since they have the colour model of their parent, and that's not necessary,
> just a single channel, so compositing should be really easy.
Scratch that -- I wasn't thinking clearly. Shouldn't do two things at the same
time. I'll try and adapt the gradient code to the current selection thingy to
see what works.
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic