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

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

Public Member Functions

 AttrStrokeTranspChange ()
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 374 of file lineattr.h.


Constructor & Destructor Documentation

AttrStrokeTranspChange::AttrStrokeTranspChange  )  [inline]
 

Definition at line 379 of file lineattr.h.

00379 : AttrValueChange() {}


Member Function Documentation

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

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

Implements AttrValueChange.

Definition at line 381 of file lineattr.h.

00381 { return &Value; }

UINT32 AttrStrokeTranspChange::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 1542 of file lineattr.cpp.

01543 {
01544     return (_R(IDS_STROKETRANSP_CHANGE));
01545 }                                  

AttrFillGeometry * AttrStrokeTranspChange::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 1519 of file lineattr.cpp.

01520 { 
01521     // Make a copy of this Fill and change the copys' control point colours
01522     AttrFillGeometry* NewFill = (AttrFillGeometry*)FillToMutate->SimpleCopy();
01523     if (NewFill == NULL)
01524         return NULL;
01525 
01526     NewFill->SetStartTransp(GetStartTransp());
01527 
01528     return NewFill; 
01529 }


Member Data Documentation

StrokeTranspAttribute AttrStrokeTranspChange::Value [protected]
 

Definition at line 389 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