#include <fillattr2.h>
Inheritance diagram for AttrNoiseScaleChange:
Public Member Functions | |
virtual UINT32 | GetAttrNameID (void) |
Returns a string resource ID describing the attribute. | |
virtual AttributeValue * | GetAttributeValue () |
virtual AttrFillGeometry * | MutateFill (AttrFillGeometry *FillToMutate) |
Changes the noise scale of a fill. | |
Protected Attributes | |
NoiseFillAttribute | Value |
Definition at line 432 of file fillattr2.h.
|
Implements AttrValueChange. Definition at line 438 of file fillattr2.h. 00438 { return &Value; }
|
|
Returns a string resource ID describing the attribute.
Reimplemented from AttrValueChange. Definition at line 4517 of file fillattr.cpp. 04518 { 04519 return (_R(IDS_NOISESCALE_CHANGE)); 04520 }
|
|
Changes the noise scale of a fill.
Reimplemented from AttrValueChange. Definition at line 4292 of file fillattr.cpp. 04293 { 04294 #if !defined(EXCLUDE_FROM_RALPH) 04295 // Make a copy of this Fill to change 04296 AttrFillGeometry* NewFill = (AttrFillGeometry*)FillToMutate->SimpleCopy(); 04297 if (NewFill == NULL) 04298 return NULL; 04299 04300 // get the value from us. 04301 NewFill->SetGraininess(GetGraininess()); 04302 NewFill->RecalcFractal(); 04303 04304 return NewFill; 04305 #else 04306 return NULL; 04307 #endif 04308 }
|
|
Definition at line 442 of file fillattr2.h. |