TranspFillMappingSinAttribute Class Reference

Specifies a sinusoidal fill mapping for a filled object. i.e. the graduation sort of wibbles from one colour to another in a sort of whirly sinusoidal fashion. More...

#include <fillval.h>

Inheritance diagram for TranspFillMappingSinAttribute:

TranspFillMappingAttribute AttributeValue CCObject SimpleCCObject List of all members.

Public Member Functions

 TranspFillMappingSinAttribute ()
virtual FillMappingAttributeMakeSimilarNonTranspFillMapping (void)
virtual NodeAttributeMakeNode ()
 Make a AttrFillMappingSin node from this fill mapping attribute.

Detailed Description

Specifies a sinusoidal fill mapping for a filled object. i.e. the graduation sort of wibbles from one colour to another in a sort of whirly sinusoidal fashion.

Author:
Will_Cowling (Xara Group Ltd) <camelotdev@xara.com>
Date:
23/8/94
See also:
TranspFillMappingAttribute

Definition at line 1837 of file fillval.h.


Constructor & Destructor Documentation

TranspFillMappingSinAttribute::TranspFillMappingSinAttribute  )  [inline]
 

Definition at line 1841 of file fillval.h.


Member Function Documentation

NodeAttribute * TranspFillMappingSinAttribute::MakeNode  )  [virtual]
 

Make a AttrFillMappingSin 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 8552 of file fillval.cpp.

08553 {
08554     // Create new attribute node
08555     AttrTranspFillMappingSin *pAttr = new AttrTranspFillMappingSin();
08556     if (pAttr==NULL)
08557         // error message has already been set by new
08558         return NULL;
08559 
08560     // Copy attribute value into the new node.
08561     pAttr->Value.SimpleCopy(this);
08562 
08563     // Return the new node
08564     return pAttr;
08565 }

FillMappingAttribute * TranspFillMappingSinAttribute::MakeSimilarNonTranspFillMapping void   )  [virtual]
 

Reimplemented from TranspFillMappingAttribute.

Definition at line 8489 of file fillval.cpp.

08490 {
08491     FillMappingSinAttribute *pNewAttr = new FillMappingSinAttribute;    
08492     if (pNewAttr != NULL)
08493     {
08494         pNewAttr->Repeat = Repeat;
08495     }
08496 
08497     return pNewAttr;
08498 }


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