IColorTransferMode

IColorTransferMode describes how source color is drawn at the destination. It applies to color paint of fill, and frame of the geometry to render.


IColorTransferMode - Member Functions and Data by Group

Constructors & Destructor

Use the functions in this group to construct objects of class IColorTransferMode.


[view class]
~IColorTransferMode
public:
~IColorTransferMode()

Destructs an object of class IColorTransferMode.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
IColorTransferMode
Constructs an IColorTransferMode object.


Overload 1
Constructor with default behavior source-replaces-destination or source copy.
public:
IColorTransferMode()

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 2
Copy constructor.
public:
IColorTransferMode(const IColorTransferMode&)

IColorTransferMode
A constant reference to the transfer mode to copy from.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 3
Constructor that takes an enumerated type EColorMode.
public:
IColorTransferMode(EColorMode mode)

mode
The transfer mode to set.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Assignment Operator

Use the operator in this group to assign the given IColorTransferMode object to the target one.


[view class]
operator =
public:
IColorTransferMode& operator =(const IColorTransferMode&)
Assignment operator.

IColorTransferMode
The transfer mode to copy from.

Return
A non-const reference to the left-hand side object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Comparing Two IColorTransferMode Objects for Equality or Inequality

Use the functions in this group to compare two IColorTransferMode objects for equality or inequality.


[view class]
operator !=
public:
virtual bool operator !=(const IColorTransferMode&) const
Tests two IColorTransferMode objects for inequality.

IColorTransferMode
The IColorTransferMode to be compared with.

Return
True if the two IColorTransferMode objects have different types.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
operator ==
public:
virtual bool operator ==(const IColorTransferMode&) const
Tests two IColorTransferMode objects for equality.

IColorTransferMode
The IColorTransferMode to be compared with.

Return
True if the two IColorTransferMode objects are the same type.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Obtaining Information About the Transfer Mode

Use the function in this group to obtain the type of the color transfer mode.


[view class]
mode
public:
IColorTransferMode::EColorMode mode() const
Returns the enumerated type of the transfer mode.

Return
The enumberated type.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Streaming an Object In and Out

Use the functions in this group to read an object in from the specified stream or write it out to it.


[view class]
readFromStream
protected:
virtual void readFromStream(IDataStream& toWhere)
Reads in the object from the specified stream.

fromWhere
The stream from which the object is read in.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
writeToStream
protected:
virtual void writeToStream(IDataStream& toWhere) const
Writes out the object to the specified stream.

toWhere
The stream that the object is written out to.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


IColorTransferMode - Enumerations


[view class]
EColorMode
enum EColorMode { kSourceCopy, 
                  kInvertSource, 
                  kDestinationCopy, 
                  kInvertDestination, 
                  kOR, 
                  kAND, 
                  kXOR, 
                  kInvertedSourceAND, 
                  kInvertedSourceOR, 
                  kInvertedDestinationAND, 
                  kInvertedDestinationOR, 
                  kInvertedAND, 
                  kInvertedOR, 
                  kInvertedXOR, 
                  kONES, 
                  kZEROS }
Describes a set of supported color transfer modes.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


IColorTransferMode - Inherited Member Functions and Data

Inherited Public Functions

IMStreamable

Inherited Public Data

Inherited Protected Functions

IMStreamable

Inherited Protected Data