NCBI C++ ToolKit
Classes | Functions
rgba_color.hpp File Reference
#include <corelib/ncbistd.hpp>
#include <gui/gui.hpp>
#include <gui/utils/vect4.hpp>
#include <gui/utils/vect3.hpp>
+ Include dependency graph for rgba_color.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.


class  CRgbaColor
 class CRgbaColor provides a simple abstraction for managing colors. More...


bool operator== (const CRgbaColor &c1, const CRgbaColor &c2)
 global comparison operator More...
bool operator< (const CRgbaColor &c1, const CRgbaColor &c2)
 define a some-what arbitrary sort order based on brightness It does have the property of being equivalent to operator==, that is: ( ! a<b && ! b<a ) iff a == b More...
CRgbaColor operator+ (const CRgbaColor &c1, const CRgbaColor &c2)
 add two colors More...
CRgbaColor operator* (const CRgbaColor &c1, float f)
 multiply a color by a scalar More...
Modified on Sun Jun 16 04:31:54 2024 by rev. 669887