AttrRemoveStrokeTransp Class Reference

Removes the transparency from objects. This Attribute never exists in the Tree. It is used for changing the Transp of an existing Fill Geometry. More...

#include <filltool.h>

Inheritance diagram for AttrRemoveStrokeTransp:

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

Public Member Functions

 AttrRemoveStrokeTransp ()
virtual AttributeValueGetAttributeValue ()
virtual CCRuntimeClassGetAttributeType ()
 Determines the scope of the value change.
virtual AttrFillGeometryMutateFill (AttrFillGeometry *FillToMutate)
 Removes all transparency from a fill.

Protected Attributes

StrokeTranspAttribute Value

Detailed Description

Removes the transparency from objects. This Attribute never exists in the Tree. It is used for changing the Transp of an existing Fill Geometry.

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

Definition at line 755 of file filltool.h.


Constructor & Destructor Documentation

AttrRemoveStrokeTransp::AttrRemoveStrokeTransp  )  [inline]
 

Definition at line 760 of file filltool.h.

00760 : AttrValueChange() {}


Member Function Documentation

virtual CCRuntimeClass* AttrRemoveStrokeTransp::GetAttributeType  )  [inline, virtual]
 

Determines the scope of the value change.

Author:
Will_Cowling (Xara Group Ltd) <camelotdev@xara.com>
Date:
13/12/94
Returns:
A CC_RUNTIME_CLASS depending on whether this should change colour or transparency attribute.

Reimplemented from AttrValueChange.

Definition at line 763 of file filltool.h.

virtual AttributeValue* AttrRemoveStrokeTransp::GetAttributeValue  )  [inline, virtual]
 

Implements AttrValueChange.

Definition at line 762 of file filltool.h.

00762 { return &Value; }

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

Removes all transparency from a fill.

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

Reimplemented from AttrValueChange.

Definition at line 10043 of file filltool.cpp.

10044 { 
10045     AttrFillGeometry* NewFill = new AttrStrokeTransp;
10046     if (NewFill == NULL)
10047         return NULL;
10048 
10049     UINT32 TypeNone = TT_Mix;
10050     UINT32 NoTransp = 0;
10051 
10052     NewFill->SetTranspType(TypeNone);
10053     NewFill->SetStartTransp(&NoTransp);
10054 
10055     // Return the Mutated Fill
10056     return NewFill;
10057 }


Member Data Documentation

StrokeTranspAttribute AttrRemoveStrokeTransp::Value [protected]
 

Definition at line 768 of file filltool.h.


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