#include <fillattr2.h>
Inheritance diagram for AttrFractalGrainChange:
Public Member Functions | |
AttrFractalGrainChange () | |
virtual UINT32 | GetAttrNameID (void) |
Returns a string resource ID describing the attribute. | |
virtual AttrFillGeometry * | MutateFill (AttrFillGeometry *FillToMutate) |
Changes the fractal graininess of a fill. |
Definition at line 316 of file fillattr2.h.
|
Definition at line 321 of file fillattr2.h. 00321 : AttrFractalChange() { }
|
|
Returns a string resource ID describing the attribute.
Reimplemented from AttrFractalChange. Definition at line 4453 of file fillattr.cpp. 04454 { 04455 return (_R(IDS_FRACTALGRAIN_CHANGE)); 04456 }
|
|
Changes the fractal graininess of a fill.
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 }
|