are selections part of kispaintdevice or aren't they?

Boudewijn Rempt boud at valdyas.org
Sat Oct 6 20:12:41 CEST 2007


On Saturday 06 October 2007, Cyrille Berger wrote:
> So no, I do think that having the selection at iterator level brings more
> than the two function convenience.

Yes, I discussed this on irc with Bart and Casper before you arrived, and we 
came to the same conclusion. I agree completely with your proposal.
>
> But, then for the API of KisFilter::process, we are allready passing six
> parameters (source device, source origin, destination device, destination
> origin, size and configuration), and adding selection would mean two more.
> I think we should consider passing a KisFilterProcessingInformation
> structure which would contain the device, the origin and the selection (and
> would be extensible if we found other thing to pass in the future without
> suffering and editing all filters).

Yes, I agree here too.

-- 
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: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20071006/a1ec8e24/attachment.pgp 


More information about the kimageshop mailing list