MipResources::Color Class Reference
[Draw window]

A color in rgb. More...

#include <DraWinObj.h>

List of all members.

Public Member Functions

 Color ()
 Default constructor.
 Color (Decimal r, Decimal g, Decimal b)
 Constructor with parameters.
 Color (const Color &c)
 Copy constructor.
Coloroperator= (const Color &c)
 Assignment operator.
ColorComponent red ()
 Get the red component.
ColorComponent green ()
 Get the green component.
ColorComponent blue ()
 Get the blue component.
string print ()
 Print.


Detailed Description

A color in rgb.

Author:
Antonio Franchi

Constructor & Destructor Documentation

MipResources::Color::Color (  )  [inline]

Default constructor.

MipResources::Color::Color ( Decimal  r,
Decimal  g,
Decimal  b 
)

Constructor with parameters.

Parameters:
[in] r Red component.
[in] g Green component.
[in] b Blue component.

MipResources::Color::Color ( const Color c  ) 

Copy constructor.


Member Function Documentation

Color & MipResources::Color::operator= ( const Color c  ) 

Assignment operator.

ColorComponent MipResources::Color::red (  )  [inline]

Get the red component.

ColorComponent MipResources::Color::green (  )  [inline]

Get the green component.

ColorComponent MipResources::Color::blue (  )  [inline]

Get the blue component.

string MipResources::Color::print (  ) 

Print.


The documentation for this class was generated from the following files:

Generated on Mon Feb 20 07:01:12 2017 for MIP by  doxygen 1.5.6