CL_Gradient Class Reference
[clanDisplay 2D]

Colorgradient description class. More...

#include <gradient.h>

List of all members.

Attributes

bool operator== (const CL_Gradient &other) const
 Compares gradient to another one.
bool operator!= (const CL_Gradient &other) const
 Compares gradient to another one.
CL_Colorf top_left
 Color of top left corner of gradient.
CL_Colorf top_right
 Color of top right corner of gradient.
CL_Colorf bottom_left
 Color of bottom left corner of gradient.
CL_Colorf bottom_right
 Color of bottom right corner of gradient.

Public Member Functions

Construction
 CL_Gradient ()
 Constructs a color gradient.
 CL_Gradient (const CL_Colorf &top_left, const CL_Colorf &top_right, const CL_Colorf &bottom_left, const CL_Colorf &bottom_right)
 CL_Gradient (const CL_Colorf &first_color, const CL_Colorf &second_color)
 Constructs a Gradient.


Detailed Description

Colorgradient description class.


Constructor & Destructor Documentation

CL_Gradient::CL_Gradient  )  [inline]
 

Constructs a color gradient.

Parameters:
top_left Top left color component.
top_right Top right color component.
bottom_left Bottom left color component.
bottom_right Bottom right color component.

CL_Gradient::CL_Gradient const CL_Colorf top_left,
const CL_Colorf top_right,
const CL_Colorf bottom_left,
const CL_Colorf bottom_right
[inline]
 

CL_Gradient::CL_Gradient const CL_Colorf first_color,
const CL_Colorf second_color
[inline]
 

Constructs a Gradient.

Parameters:
first_color = Colorf
second_color = Colorf


Member Function Documentation

bool CL_Gradient::operator!= const CL_Gradient other  )  const [inline]
 

Compares gradient to another one.

bool CL_Gradient::operator== const CL_Gradient other  )  const [inline]
 

Compares gradient to another one.


Member Data Documentation

CL_Colorf CL_Gradient::bottom_left
 

Color of bottom left corner of gradient.

CL_Colorf CL_Gradient::bottom_right
 

Color of bottom right corner of gradient.

CL_Colorf CL_Gradient::top_left
 

Color of top left corner of gradient.

CL_Colorf CL_Gradient::top_right
 

Color of top right corner of gradient.


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:37 2009 for ClanLib by  doxygen 1.4.6