Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index


Just a quick query: is there any reason why basegfx::BColor doesn’t store the alpha value?

I was thinking it would be great to migrate from tools::Color to basegfx::BColor, but I genuinely 
don’t think this is really possible without storing the alpha channel.

Also, I noticed a decent gerrit patch by Noel that removes yet another variant of Color in 
cppcanvas:

https://gerrit.libreoffice.org/#/c/43240/

It would be great to have literally only one implementation of Color :-)

Also, I proposed a Color modifier earlier to do alpha blending:

https://gerrit.libreoffice.org/#/c/43223/

Feedback is that BColorModifer_interpolate can do this already, so it’s not like we don’t have the 
infrastructure to do this...

Thoughts?

Chris

Sent from my iPhone

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.