AttrStrokeTranspTypeChange Class Reference

Change Stroke transparency Attribute class. This Attribute never exists in the Tree. It is used for changing the transp of an existing Stroke. More...

#include <lineattr.h>

Inheritance diagram for AttrStrokeTranspTypeChange:

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

Public Member Functions

 AttrStrokeTranspTypeChange ()
virtual AttributeValueGetAttributeValue ()
virtual CCRuntimeClassGetAttributeType ()
 Determines the scope of the value change.
virtual AttrFillGeometryMutateFill (AttrFillGeometry *FillToMutate)
 Changes the stroke colour in some way.
virtual UINT32 GetAttrNameID (void)
 Returns a string resource ID describing the attribute.

Protected Attributes

StrokeTranspAttribute Value

Detailed Description

Change Stroke transparency Attribute class. This Attribute never exists in the Tree. It is used for changing the transp of an existing Stroke.

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

Definition at line 405 of file lineattr.h.


Constructor & Destructor Documentation

AttrStrokeTranspTypeChange::AttrStrokeTranspTypeChange  )  [inline]
 

Definition at line 410 of file lineattr.h.

00410 : AttrValueChange() {}


Member Function Documentation

virtual CCRuntimeClass* AttrStrokeTranspTypeChange::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 413 of file lineattr.h.

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

Implements AttrValueChange.

Definition at line 412 of file lineattr.h.

00412 { return &Value; }

UINT32 AttrStrokeTranspTypeChange::GetAttrNameID void   )  [virtual]
 

Returns a string resource ID describing the attribute.

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

Reimplemented from AttrValueChange.

Definition at line 1582 of file lineattr.cpp.

01583 {
01584     return (_R(IDS_STROKETRANSPTYPE_CHANGE));
01585 }                                  

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

Changes the stroke colour in some way.

Author:
Will_Cowling (Xara Group Ltd) <camelotdev@xara.com>
Date:
28/11/94
Parameters:
The value change attribute [INPUTS]
Returns:
A new stroke colour attr, with the appropriate changes made

Reimplemented from AttrValueChange.

Definition at line 1559 of file lineattr.cpp.

01560 { 
01561     // Make a copy of this Fill and change the copys' control point colours
01562     AttrFillGeometry* NewFill = (AttrFillGeometry*)FillToMutate->SimpleCopy();
01563     if (NewFill == NULL)
01564         return NULL;
01565 
01566     NewFill->SetTranspType(GetTranspType());
01567 
01568     return NewFill; 
01569 }


Member Data Documentation

StrokeTranspAttribute AttrStrokeTranspTypeChange::Value [protected]
 

Definition at line 420 of file lineattr.h.


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