Hi,
I was recently looking for same while hacking on a platform theme. I
think there is a bunch of stuff in qdrawhelper_p.h, but it seemed like
too low level and scary. I ended up implementing color alpha blending
myself, as the formula is pretty simple (just a linear combination of
the RGB values using the foreground's alpha).
Best,
Igor
On 23/11/2025 21:17, Christian Ehrlicher via Development wrote:
Hi,
for the window11 style plugin I like to merge two QColors to avoid a
double painting. The first color has no alpha but the second. Is there
anything ready to use in Qt (internals) or do I have to write
something by my own?
Thx,
Christian
--
Development mailing list
[email protected]
https://lists.qt-project.org/listinfo/development