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

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

Public Member Functions

 AttrBitmapTessChange ()
virtual UINT32 GetAttrNameID (void)
 Returns a string resource ID describing the attribute.
virtual AttrFillGeometryMutateFill (AttrFillGeometry *FillToMutate)
 Changes the bitmap tesselation 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 233 of file fillattr2.h.


Constructor & Destructor Documentation

AttrBitmapTessChange::AttrBitmapTessChange  )  [inline]
 

Definition at line 238 of file fillattr2.h.

00238 : AttrBitmapChange() { }


Member Function Documentation

UINT32 AttrBitmapTessChange::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 AttrBitmapChange.

Definition at line 4405 of file fillattr.cpp.

04406 {
04407     return (_R(IDS_BITMAPTESS_CHANGE));
04408 }                                  

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

Changes the bitmap tesselation 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 AttrBitmapChange.

Definition at line 4154 of file fillattr.cpp.

04155 { 
04156 #if !defined(EXCLUDE_FROM_RALPH)
04157     // Make a copy of this Fill to change
04158     AttrFillGeometry* NewFill = (AttrFillGeometry*)FillToMutate->SimpleCopy();
04159     if (NewFill == NULL)
04160         return NULL;
04161 
04162     NewFill->SetTesselation(GetTesselation());
04163     NewFill->RecalcFractal();
04164 
04165     return NewFill; 
04166 #else
04167     return NULL;
04168 #endif
04169 }


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