Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
mirek is currently offline  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

 
Read Message
Read Message
Previous Topic: DrawOpWin32.cpp, line 96 q != ERROR
Next Topic: Drawing rectangles question
Goto Forum:
  


Current Time: Thu Apr 25 00:10:03 CEST 2024

Total time taken to generate the page: 0.02938 seconds