[Gambas-user] Color.Blend() and alpha channels
Tobias Boege
taboege at ...626...
Tue Oct 29 20:27:32 CET 2013
Hi Benoit,
the documentation[0] of Color.Blend() states that the resulting colour get
the maximum alpha channels of the Source and Destination parameters.
However, in a test project, we Color.Blend()'d two colours, one of which has
the alpha component 190 and the other one has 90. The resulting colour has
an alpha of 90 which at first glance contradicts the documentation.
I guess, this is due to the fact that Gambas internally swaps the meaning of
the alpha channel, as stated here[1]? What should we do about this?
Regards,
Tobi
[0] http://gambasdoc.org/help/comp/gb.image/color/blend?v3
[1] http://gambasdoc.org/help/comp/gb.qt4/color?v3
More information about the User
mailing list