FillEffectRainbowAttribute Class Reference

Specifies a 'rainbow' graduation for fills, i.e. a fade through the HSV cone. More...

#include <fillval.h>

Inheritance diagram for FillEffectRainbowAttribute:

FillEffectAttribute AttributeValue CCObject SimpleCCObject List of all members.

Public Member Functions

virtual NodeAttributeMakeNode ()
 Make a AttrFillEffectRainbow node from this fill effect attribute.

Detailed Description

Specifies a 'rainbow' graduation for fills, i.e. a fade through the HSV cone.

Author:
Tim_Browse (Xara Group Ltd) <camelotdev@xara.com>
Date:
18/07/94
See also:
FillEffectAttribute

Definition at line 1741 of file fillval.h.


Member Function Documentation

NodeAttribute * FillEffectRainbowAttribute::MakeNode  )  [virtual]
 

Make a AttrFillEffectRainbow node from this fill effect attribute.

Author:
Will_Cowling (Xara Group Ltd) <camelotdev@xara.com>
Date:
23/8/94
Returns:
Pointer to the new node, or NULL if out of memory.

Errors: Out of memory

See also:
AttributeValue::MakeNode

Reimplemented from AttributeValue.

Definition at line 8295 of file fillval.cpp.

08296 {
08297     // Create new attribute node
08298     AttrFillEffectRainbow *pAttr = new AttrFillEffectRainbow();
08299     if (pAttr==NULL)
08300         // error message has already been set by new
08301         return NULL;
08302 
08303     // Copy attribute value into the new node.
08304     pAttr->Value.SimpleCopy(this);
08305 
08306     // Return the new node
08307     return pAttr;
08308 }


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:54:13 2007 for Camelot by  doxygen 1.4.4