Talk:GetResultingColor
Jump to navigation
Jump to search
This function is wrong. Mixing (0,0,0,255) with (255,255,255,128) would obviously result in (64,64,64,255), not the values that your function returns. --Wielebny 14:01, 26 January 2013 (UTC)
I don't know where you got your so obvious result... The return values are correct.
You can easily test it:
dxDrawRectangle( 200, 200, 200, 200, tocolor(0, 0, 0, 255))
dxDrawRectangle( 250, 250, 100, 100, tocolor(255, 255, 255, 128))
Do a screenshot, open it with your favorite image editor (I use Paint.NET, it's free and awesome), use the Color Picker tool and see the result. --Guix 20:47, 26 January 2013 (UTC)