Colour Class Reference
#include <Colour.h>
List of all members.
Detailed Description
Colour.h - Used for specifying OpenGL colours intuitively. All colours have been coded with their RGB values which are well user understandable and they will be converted into OpenGL colour specification in the range 0 to 1 when a function is called.
Usage: glColor3dv(Colour::Instance()->{colour name}); eg.: glColor3dv(Colour::Instance()->white());
Instantiated as Single-Ton object.
Colour names obtained from http://www.help4web.net/webmaster/Color/RGB-Values.html and http://www.oreilly.com/catalog/wdnut/excerpt/color_names.html O'Reilly & Associates, Inc. accessed 8 june 04 and 30 june 04 , respectively.
Constructor & Destructor Documentation
|
Default Constructor - Parameters:
-
|
Colour::Colour |
( |
GLubyte |
R, |
|
|
GLubyte |
G, |
|
|
GLubyte |
B |
|
) |
|
|
|
Constructor - Parameters:
-
| Three | Byte values R,G and B. Alpha is set to 255 (1.0) |
|
Colour::Colour |
( |
double * |
colours |
) |
|
|
|
Constructor - Parameters:
-
| A | double array of four values indicating and RGB and A. |
|
Member Function Documentation
double * Colour::AliceBlue |
( |
void |
|
) |
|
|
|
Function for returning colour aliceblue - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
void Colour::Alpha |
( |
float |
A |
) |
|
|
|
method to set alpha value. should be in the range 0 and 1 - Parameters:
-
| A | float value ranging between 0 and 1 indicating transparency. This value sets the transparency valu of the class to that value. Subsequent calls to colour function uses this value to return the Alpha value. |
- Returns:
- none
|
double * Colour::AntiqueWhite |
( |
void |
|
) |
|
|
|
Function for returning colour antiquewhite - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Azure |
( |
void |
|
) |
|
|
|
Function for returning colour azure - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Beige |
( |
void |
|
) |
|
|
|
Function for returning colour beige - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Bisque |
( |
void |
|
) |
|
|
|
Function for returning colour bisque - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Black |
( |
void |
|
) |
|
|
|
Function for returning colour black - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::BlanchedAlmond |
( |
void |
|
) |
|
|
|
Function for returning colour blanchedalmond - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Blue |
( |
void |
|
) |
|
|
|
Function for returning colour blue - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::BlueViolet |
( |
void |
|
) |
|
|
|
Function for returning colour blueviolet - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Brown |
( |
void |
|
) |
|
|
|
Function for returning colour brown - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::BurlyWood |
( |
void |
|
) |
|
|
|
Function for returning colour burlywood - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::CadetBlue |
( |
void |
|
) |
|
|
|
Function for returning colour cadetblue - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::ChartReUse |
( |
void |
|
) |
|
|
|
Function for returning colour chartreuse - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Chocolate |
( |
void |
|
) |
|
|
|
Function for returning colour chocolate - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Coral |
( |
void |
|
) |
|
|
|
Function for returning colour coral - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::CornFlowerBlue |
( |
void |
|
) |
|
|
|
Function for returning colour cornflowerblue - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::CornSilk |
( |
void |
|
) |
|
|
|
Function for returning colour cornsilk - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::CurrColour |
( |
void |
|
) |
|
|
|
Function for returning current colour that is set in the class (in other words, previously accessed colour from the global instance of the object) - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Cyan |
( |
void |
|
) |
|
|
|
Function for returning colour cyan - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::DarkCyan |
( |
void |
|
) |
|
|
|
Function for returning colour darkcyan - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::DarkGray |
( |
void |
|
) |
|
|
|
Function for returning colour darkgray - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::DarkKhaki |
( |
void |
|
) |
|
|
|
Function for returning colour darkkhaki - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::DarkMagenta |
( |
void |
|
) |
|
|
|
Function for returning colour darkmagenta - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::DarkOliveGreen |
( |
void |
|
) |
|
|
|
Function for returning colour darkolivegreen - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::DarkOrange |
( |
void |
|
) |
|
|
|
Function for returning colour darkorange - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::DarkRed |
( |
void |
|
) |
|
|
|
Function for returning colour darkred - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::DarkSalmon |
( |
void |
|
) |
|
|
|
Function for returning colour darksalmon - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::DarkSeaGreen |
( |
void |
|
) |
|
|
|
Function for returning colour darkseagreen - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::DarkSlateBlue |
( |
void |
|
) |
|
|
|
Function for returning colour darkslateblue - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::DarkSlateGray |
( |
void |
|
) |
|
|
|
Function for returning colour darkslategray - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::DarkTurquoise |
( |
void |
|
) |
|
|
|
Function for returning colour darkturquoise - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::DeepPink |
( |
void |
|
) |
|
|
|
Function for returning colour deeppink - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::DeepSkyBlue |
( |
void |
|
) |
|
|
|
Function for returning colour deepskyblue - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
void Colour::Destroy |
( |
void |
|
) |
[static] |
|
|
Static function to destroy the static instance of the object. Must be called Once, and only once, in an application, preferably at the point where your application performs clean up operations and exits. - Parameters:
-
- Returns:
- none
|
double * Colour::DimGray |
( |
void |
|
) |
|
|
|
Function for returning colour dimgray - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::DodgerBlue |
( |
void |
|
) |
|
|
|
Function for returning colour dodgerblue - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::FireBrick |
( |
void |
|
) |
|
|
|
Function for returning colour firebrick - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::FloralWhite |
( |
void |
|
) |
|
|
|
Function for returning colour floralwhite - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::ForestGreen |
( |
void |
|
) |
|
|
|
Function for returning colour forestgreen - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Gainsboro |
( |
void |
|
) |
|
|
|
Function for returning colour gainsboro - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::GetColour |
( |
GLubyte |
R, |
|
|
GLubyte |
G, |
|
|
GLubyte |
B, |
|
|
GLubyte |
A = 255 |
|
) |
[inline] |
|
|
Get an OpenGL equivalent value (in the range 0 to 1) for Byte-Wise RGBA values - Parameters:
-
| Four | GLubyte values indicating RGB and A. A (Alpha) is an optional value and by default it is set to the value - 255. |
- Returns:
- A double array of four values with values in the range 0 to 1 in each
|
double * Colour::Ghostwhite |
( |
void |
|
) |
|
|
|
Function for returning colour ghostwhite - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Gold |
( |
void |
|
) |
|
|
|
Function for returning colour gold - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Gray |
( |
void |
|
) |
|
|
|
Function for returning colour gray - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Green |
( |
void |
|
) |
|
|
|
Function for returning colour green - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::GreenYellow |
( |
void |
|
) |
|
|
|
Function for returning colour greenyellow - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::HoneyDew |
( |
void |
|
) |
|
|
|
Function for returning colour honeydew - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::HotPink |
( |
void |
|
) |
|
|
|
Function for returning colour hotpink - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::IndianRed |
( |
void |
|
) |
|
|
|
Function for returning colour indianred - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Indigo |
( |
void |
|
) |
|
|
|
Function for returning colour indigo - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
Colour * Colour::Initialize |
( |
void |
|
) |
[static] |
|
|
static instance creator. Should be called once to instantiate the global instance of the object. - Parameters:
-
- Returns:
- static instance of the object
|
Colour * Colour::Instance |
( |
void |
|
) |
[static] |
|
|
method for accessing static instance of the object and thereby member functions of the class. The function 'Initialize' will also do the same thing. But there should be a distinction between our nomenclature for initializing and accessing. Also the functionality that returns the static instance of the object when called 'Initialize' will act as a guard if this function is accidentally called more than once. Without this guard multiple initializations would become a serious problem. - See also:
- Initialize()
- Parameters:
-
- Returns:
- static instance of the object from which you can call member functions
|
double * Colour::Ivory |
( |
void |
|
) |
|
|
|
Function for returning colour ivory - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Khaki |
( |
void |
|
) |
|
|
|
Function for returning colour khaki - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Lavender |
( |
void |
|
) |
|
|
|
Function for returning colour lavender - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::LavenderBlush |
( |
void |
|
) |
|
|
|
Function for returning colour lavenderblush - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::LawnGreen |
( |
void |
|
) |
|
|
|
Function for returning colour lawngreen - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::LemonChiffon |
( |
void |
|
) |
|
|
|
Function for returning colour lemonchiffon - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::LightBlue |
( |
void |
|
) |
|
|
|
Function for returning colour lightblue - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::LightCoral |
( |
void |
|
) |
|
|
|
Function for returning colour lightcoral - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::LightGreen |
( |
void |
|
) |
|
|
|
Function for returning colour lightgreen - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::LightGrey |
( |
void |
|
) |
|
|
|
Function for returning colour lightgrey - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::LightSkyBlue |
( |
void |
|
) |
|
|
|
Function for returning colour lightskyblue - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::LightSlateGray |
( |
void |
|
) |
|
|
|
Function for returning colour lighslatetgray - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Linen |
( |
void |
|
) |
|
|
|
Function for returning colour linen - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Magenta |
( |
void |
|
) |
|
|
|
Function for returning colour magenta - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Maroon |
( |
void |
|
) |
|
|
|
Function for returning colour maroon - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::MediumAquamarine |
( |
void |
|
) |
|
|
|
Function for returning colour mediumaquamarine - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::MediumSlateBlue |
( |
void |
|
) |
|
|
|
Function for returning colour mediumslateblue - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::MediumVioletRed |
( |
void |
|
) |
|
|
|
Function for returning colour mediumvioletred - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::MidnightBlue |
( |
void |
|
) |
|
|
|
Function for returning colour midnightblue - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::MintCream |
( |
void |
|
) |
|
|
|
Function for returning colour mintcream - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::MistyRose |
( |
void |
|
) |
|
|
|
Function for returning colour mistyrose - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Moccasin |
( |
void |
|
) |
|
|
|
Function for returning colour moccasin - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::NavajoWhite |
( |
void |
|
) |
|
|
|
Function for returning colour navajowhite - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::NavyBlue |
( |
void |
|
) |
|
|
|
Function for returning colour navyblue - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::OldLace |
( |
void |
|
) |
|
|
|
Function for returning colour oldlace - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
const Colour & Colour::operator= |
( |
const double * |
|
) |
|
|
|
overloaded '=' operator to copy values of one object to another. not suitable when using this class as single-ton object - Parameters:
-
| A | double array of four values |
- Returns:
- Reference of the object from which it is called
|
|
overloaded '=' operator to copy values of one object to another. not suitable when using this class as single-ton object - Parameters:
-
| An | instance of the Colour object |
- Returns:
- Reference of the object from which it is called
|
double * Colour::Orange |
( |
void |
|
) |
|
|
|
Function for returning colour orange - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::OrangeRed |
( |
void |
|
) |
|
|
|
Function for returning colour orangered - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Orchid |
( |
void |
|
) |
|
|
|
Function for returning colour orchid - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::PaleGreen |
( |
void |
|
) |
|
|
|
Function for returning colour palegreen - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::PaleTurquoise |
( |
void |
|
) |
|
|
|
Function for returning colour paleturquoise - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::PaleVioletRed |
( |
void |
|
) |
|
|
|
Function for returning colour palevioletred - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::PapayaWhip |
( |
void |
|
) |
|
|
|
Function for returning colour papayawhip - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::PeachPuff |
( |
void |
|
) |
|
|
|
Function for returning colour peachpuff - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Peru |
( |
void |
|
) |
|
|
|
Function for returning colour peru - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Pink |
( |
void |
|
) |
|
|
|
Function for returning colour pink - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Plum |
( |
void |
|
) |
|
|
|
Function for returning colour plum - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::PowderBlue |
( |
void |
|
) |
|
|
|
Function for returning colour powderblue - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Purple |
( |
void |
|
) |
|
|
|
Function for returning colour purple - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Red |
( |
void |
|
) |
|
|
|
Function for returning colour red - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::RGBToOpenGLColours |
( |
|
) |
[protected] |
|
|
converts RGBA values (BYTES) to OpenGL variants in the range 0 and 1. Used only internally. Not meant for public access. - Parameters:
-
- Returns:
- A double array of four values
|
double * Colour::RGBToOpenGLColoursUS |
( |
|
) |
[protected] |
|
|
converts RGBA values (UNSIGNED SHORTS) to OpenGL variants in the range 0 and 1. Used only internally. Not meant for public access. - Parameters:
-
- Returns:
- A double array of four values
|
double * Colour::RosyBrown |
( |
void |
|
) |
|
|
|
Function for returning colour rosybrown - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::RoyalBlue |
( |
void |
|
) |
|
|
|
Function for returning colour royalblue - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::SaddleBrown |
( |
void |
|
) |
|
|
|
Function for returning colour saddlebrown - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Salmon |
( |
void |
|
) |
|
|
|
Function for returning colour salmon - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::SandyBrown |
( |
void |
|
) |
|
|
|
Function for returning colour sandybrown - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::SeaGreen |
( |
void |
|
) |
|
|
|
Function for returning colour seagreen - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::SeaShell |
( |
void |
|
) |
|
|
|
Function for returning colour seashell - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Sienna |
( |
void |
|
) |
|
|
|
Function for returning colour sienna - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::SkyBlue |
( |
void |
|
) |
|
|
|
Function for returning colour skyblue - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::SlateBlue |
( |
void |
|
) |
|
|
|
Function for returning colour slateblue - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::SlateGray |
( |
void |
|
) |
|
|
|
Function for returning colour slategray - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Snow |
( |
void |
|
) |
|
|
|
Function for returning colour snow - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::SpringGreen |
( |
void |
|
) |
|
|
|
Function for returning colour springgreen - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::SteelBlue |
( |
void |
|
) |
|
|
|
Function for returning colour steelblue - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Tan |
( |
void |
|
) |
|
|
|
Function for returning colour tan - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Tomato |
( |
void |
|
) |
|
|
|
Function for returning colour tomato - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Turquoise |
( |
void |
|
) |
|
|
|
Function for returning colour turquoise - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Violet |
( |
void |
|
) |
|
|
|
Function for returning colour violet - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Wheat |
( |
void |
|
) |
|
|
|
Function for returning colour wheat - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::White |
( |
void |
|
) |
|
|
|
Function for returning colour white - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::WhiteSmoke |
( |
void |
|
) |
|
|
|
Function for returning colour whitesmoke - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
double * Colour::Yellow |
( |
void |
|
) |
|
|
|
Function for returning colour yellow - Parameters:
-
- Returns:
- A double array of four values (RGBA) - By default Alpha (A) is set to 1 (total opaque)
|
The documentation for this class was generated from the following files:
- Desktop/Colour Class/Colour.h
- Desktop/Colour Class/Colour.cpp
Generated on Tue Sep 27 13:37:12 2005 for A Colour Class for using with OpenGL - by
1.4.4