FillMappingLinearAttribute Class Reference

Specifies a linear fill mapping for a filled object. This is used for normal graduated fills. More...

#include <fillval.h>

Inheritance diagram for FillMappingLinearAttribute:

FillMappingAttribute AttributeValue CCObject SimpleCCObject List of all members.

Public Member Functions

 FillMappingLinearAttribute ()
virtual NodeAttributeMakeNode ()
 Make a AttrFillMappingLinear node from this fill mapping attribute.

Detailed Description

Specifies a linear fill mapping for a filled object. This is used for normal graduated fills.

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

Definition at line 1651 of file fillval.h.


Constructor & Destructor Documentation

FillMappingLinearAttribute::FillMappingLinearAttribute  )  [inline]
 

Definition at line 1655 of file fillval.h.

01655 : FillMappingAttribute() {}


Member Function Documentation

NodeAttribute * FillMappingLinearAttribute::MakeNode  )  [virtual]
 

Make a AttrFillMappingLinear node from this fill mapping 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 8072 of file fillval.cpp.

08073 {
08074     // Create new attribute node
08075     AttrFillMappingLinear *pAttr = new AttrFillMappingLinear();
08076     if (pAttr==NULL)
08077         // error message has already been set by new
08078         return NULL;
08079 
08080     // Copy attribute value into the new node.
08081     pAttr->Value.SimpleCopy(this);
08082 
08083     // Return the new node
08084     return pAttr;
08085 }


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