Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » RGBA ctor
Re: RGBA ctor [message #20468 is a reply to message #20463] |
Fri, 20 March 2009 08:44 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
It is sort of supposed to be constructed as:
RGBA c = alpha * Color(....);
or
RGBA c = Color(...);
Note that construction of RGBA really is not that simple because not all { r, g, b, a } combinations are valid - RGBA has to be in premultiplied format.
Mirek
[Updated on: Fri, 20 March 2009 08:45] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Thu Apr 25 00:10:03 CEST 2024
Total time taken to generate the page: 0.02938 seconds
|