TranspFillMappingLinearAttribute 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 TranspFillMappingLinearAttribute:

TranspFillMappingAttribute AttributeValue CCObject SimpleCCObject List of all members.

Public Member Functions

 TranspFillMappingLinearAttribute ()
virtual FillMappingAttributeMakeSimilarNonTranspFillMapping (void)
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:
Will_Cowling (Xara Group Ltd) <camelotdev@xara.com>
Date:
23/8/94
See also:
TranspFillMappingAttribute

Definition at line 1813 of file fillval.h.


Constructor & Destructor Documentation

TranspFillMappingLinearAttribute::TranspFillMappingLinearAttribute  )  [inline]
 

Definition at line 1817 of file fillval.h.


Member Function Documentation

NodeAttribute * TranspFillMappingLinearAttribute::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 8524 of file fillval.cpp.

08525 {
08526     // Create new attribute node
08527     AttrTranspFillMappingLinear *pAttr = new AttrTranspFillMappingLinear();
08528     if (pAttr==NULL)
08529         // error message has already been set by new
08530         return NULL;
08531 
08532     // Copy attribute value into the new node.
08533     pAttr->Value.SimpleCopy(this);
08534 
08535     // Return the new node
08536     return pAttr;
08537 }

FillMappingAttribute * TranspFillMappingLinearAttribute::MakeSimilarNonTranspFillMapping void   )  [virtual]
 

Reimplemented from TranspFillMappingAttribute.

Definition at line 8500 of file fillval.cpp.

08501 {
08502     FillMappingLinearAttribute *pNewAttr = new FillMappingLinearAttribute;  
08503     if (pNewAttr != NULL)
08504     {
08505         pNewAttr->Repeat = Repeat;
08506     }
08507 
08508     return pNewAttr;
08509 }


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 04:02:19 2007 for Camelot by  doxygen 1.4.4