AttrFractalGrainChange Class Reference

Change Fill Transp Type Attribute class. This Attribute never exists in the Tree. It is used for changing the Transp type of an existing Fill Geometry. More...

#include <fillattr2.h>

Inheritance diagram for AttrFractalGrainChange:

AttrFractalChange AttrValueChange AttrFillGeometry NodeAttribute NodeRenderable Node CCObject SimpleCCObject List of all members.

Public Member Functions

 AttrFractalGrainChange ()
virtual UINT32 GetAttrNameID (void)
 Returns a string resource ID describing the attribute.
virtual AttrFillGeometryMutateFill (AttrFillGeometry *FillToMutate)
 Changes the fractal graininess of a fill.

Detailed Description

Change Fill Transp Type Attribute class. This Attribute never exists in the Tree. It is used for changing the Transp type of an existing Fill Geometry.

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

Definition at line 316 of file fillattr2.h.


Constructor & Destructor Documentation

AttrFractalGrainChange::AttrFractalGrainChange  )  [inline]
 

Definition at line 321 of file fillattr2.h.

00321 : AttrFractalChange() { }


Member Function Documentation

UINT32 AttrFractalGrainChange::GetAttrNameID void   )  [virtual]
 

Returns a string resource ID describing the attribute.

Author:
Will_Cowling (Xara Group Ltd) <camelotdev@xara.com>
Date:
3/01/95
Returns:
Attribute description ID

Reimplemented from AttrFractalChange.

Definition at line 4453 of file fillattr.cpp.

04454 {
04455     return (_R(IDS_FRACTALGRAIN_CHANGE));
04456 }                                  

AttrFillGeometry * AttrFractalGrainChange::MutateFill AttrFillGeometry FillToMutate  )  [virtual]
 

Changes the fractal graininess of a fill.

Author:
Will_Cowling (Xara Group Ltd) <camelotdev@xara.com>
Date:
13/12/94
Parameters:
The fill that is to be changed. [INPUTS]

Reimplemented from AttrValueChange.

Definition at line 4209 of file fillattr.cpp.

04210 { 
04211 #if !defined(EXCLUDE_FROM_RALPH)
04212     // Make a copy of this Fill to change
04213     AttrFillGeometry* NewFill = (AttrFillGeometry*)FillToMutate->SimpleCopy();
04214     if (NewFill == NULL)
04215         return NULL;
04216 
04217     NewFill->SetGraininess(GetGraininess());
04218     NewFill->RecalcFractal();
04219 
04220     return NewFill; 
04221 #else
04222     return NULL;
04223 #endif
04224 }


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