A bit of future-proofing

Boudewijn Rempt boud at valdyas.org
Tue Feb 7 12:37:34 CET 2006


Somewhere along the road we've lost every trace of an intention to make it 
possible someday to show only a particular channel of a layer. I'm thinking 
that it may make sense to add a parameter to the merge, bitBlt and composite 
methods so we can add support for that in the future while keeping the API 
stable.

Specifically, I'm thinking about a 32-bit bit field, one bit per channel.  But 
maybe an array of boolean would be faster to check in the composite methods 
of the colorspaces? 

-- 
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/20060207/a58eda85/attachment.pgp 


More information about the kimageshop mailing list