WT_XAML_Color Class Reference
[GroupRenditionAttributes]

#include <XamlColor.h>

Inheritance diagram for WT_XAML_Color:

Inheritance graph
[legend]
Collaboration diagram for WT_XAML_Color:

Collaboration graph
[legend]
List of all members.

Detailed Description

Rendition attribute describing the currrent color.

See also:
WT_Rendition

Definition at line 41 of file XamlColor.h.

Public Member Functions

WT_XAML_Color const & operator= (WT_XAML_Color const &other)

Protected Member Functions

 WT_XAML_Color ()
 Constructs a WT_XAML_Color object. (Defaults to white.).
 WT_XAML_Color (WT_RGBA32 color, WT_Color_Map_Mode m=No_Mapping)
 Constructs a WT_XAML_Color object with the given color and optional mapping mode.
 WT_XAML_Color (WT_Color const &color)
 Constructs a WT_XAML_Color object with the given color.
 WT_XAML_Color (int red, int green, int blue, WT_Color_Map_Mode m=No_Mapping)
 Constructs a WT_XAML_Color object with the given color and optional mapping mode.
 WT_XAML_Color (int red, int green, int blue, int alpha, WT_Color_Map_Mode m=No_Mapping)
 Constructs a WT_XAML_Color object with the given color and optional mapping mode.
 WT_XAML_Color (WT_Color_Index index, WT_Color_Map const &color_map)
 Constructs a WT_XAML_Color object from the given index and corresponding color map.
virtual ~WT_XAML_Color ()

Friends

class WT_XAML_Class_Factory
class WT_XAML_Rendition


Constructor & Destructor Documentation

WT_XAML_Color::WT_XAML_Color  )  [inline, protected]
 

Constructs a WT_XAML_Color object. (Defaults to white.).

The color index will be set to WD_NO_COLOR_INDEX.

Definition at line 55 of file XamlColor.h.

WT_XAML_Color::WT_XAML_Color WT_RGBA32  color,
WT_Color_Map_Mode  m = No_Mapping
[inline, protected]
 

Constructs a WT_XAML_Color object with the given color and optional mapping mode.

The color index will be set to WD_NO_COLOR_INDEX.

Parameters:
color  The color.
m  Optional mapping mode.

Definition at line 62 of file XamlColor.h.

WT_XAML_Color::WT_XAML_Color WT_Color const &  color  )  [inline, protected]
 

Constructs a WT_XAML_Color object with the given color.

Parameters:
color  The color.

Definition at line 71 of file XamlColor.h.

WT_XAML_Color::WT_XAML_Color int  red,
int  green,
int  blue,
WT_Color_Map_Mode  m = No_Mapping
[inline, protected]
 

Constructs a WT_XAML_Color object with the given color and optional mapping mode.

The color index will be set to WD_NO_COLOR_INDEX.

Parameters:
red  Red coponent of RGB color.
green  Green coponent of RGB color.
blue  Blue coponent of RGB color.
m  Optional mapping mode.

Definition at line 81 of file XamlColor.h.

WT_XAML_Color::WT_XAML_Color int  red,
int  green,
int  blue,
int  alpha,
WT_Color_Map_Mode  m = No_Mapping
[inline, protected]
 

Constructs a WT_XAML_Color object with the given color and optional mapping mode.

The color index will be set to WD_NO_COLOR_INDEX.

Parameters:
red  Red coponent of RGBA color.
green  Green coponent of RGBA color.
blue  Blue coponent of RGBA color.
alpha  Alpha component of RGBA color (0 = transparent, 255 = opaque.)
m  Optional mapping mode.

Definition at line 93 of file XamlColor.h.

WT_XAML_Color::WT_XAML_Color WT_Color_Index  index,
WT_Color_Map const &  color_map
[inline, protected]
 

Constructs a WT_XAML_Color object from the given index and corresponding color map.

Exceptions:
WT_Result::Toolkit_Usage_Error The index is greater than the size of the color map.
Parameters:
index  The color index into the color_map.
color_map  The map to search.

Definition at line 107 of file XamlColor.h.


The documentation for this class was generated from the following file:
Generated on Tue Jan 6 22:40:11 2009 for Autodesk DWF Toolkit by  doxygen 1.4.5