Free Software Foundation GPLv3 LGPL Electronic Frontier Foundation
Mozilla.org OpenOffice.org Linux.com
OpenGraphtheory::Visualization::Color Class Reference
Collaboration diagram for OpenGraphtheory::Visualization::Color:

Public Member Functions

 Color (int color)
 
 Color (unsigned short R, unsigned short G, unsigned short B)
 
 Color (unsigned short R, unsigned short G, unsigned short B, unsigned short Alpha)
 
 Color (const Color &c)
 
void operator= (const Color &c)
 
bool operator== (const Color &c)
 
bool operator!= (const Color &c)
 
int ToInt ()
 

Public Attributes

unsigned short Red
 
unsigned short Green
 
unsigned short Blue
 
unsigned short Transparency
 

Static Public Attributes

static Color DefaultColors []
 
static const int NumDefaultColors = 8
 

Member Data Documentation

Color Color::DefaultColors
static
Initial value:
=
{
Color(0x00, 0x00, 0x00),
Color(0xE5, 0x00, 0x00),
Color(0xF3, 0xD5, 0x10),
Color(0x34, 0xCD, 0x20),
Color(0x1C, 0x23, 0xEB),
Color(0xF3, 0x7D, 0x23),
Color(0x15, 0xCD, 0xC7),
Color(0x87, 0x22, 0xE5),
Color(0xFF, 0x33, 0xFF)
}

The documentation for this class was generated from the following files:
  • sources/opengt.so/Headers/visualize/color.h
  • sources/opengt.so/Sources/visualize/color.cpp
Contributors Disclaimer