#include <fillval.h>
Inheritance diagram for FourColFillAttribute:
Public Member Functions | |
FourColFillAttribute () | |
Default Constuctor for fill attribute values. | |
virtual INT32 | operator== (const FillGeometryAttribute &Attrib) |
A virtual comparison operator. See NodeAttribute::operator== for a description of why it's required. | |
virtual NodeAttribute * | MakeNode () |
Make a AttrFourColFill node from this graduated fill attribute. | |
virtual DocColour * | GetEndColour3 () |
virtual void | SetEndColour3 (DocColour *NewCol) |
Sets the third colour of this fill (default to Yellow). | |
virtual BOOL | IsAFourColFill () |
virtual INT32 | GetGeometryShape () |
Public Attributes | |
DocColour | EndColour3 |
Definition at line 720 of file fillval.h.
|
Default Constuctor for fill attribute values.
Definition at line 4027 of file fillval.cpp. 04028 { 04029 AttributeManager::FindDefaultColour(ColourManager::GetCurrentColourList(), 04030 _R(IDS_YELLOWNAME), &EndColour3); 04031 }
|
|
Reimplemented from FillGeometryAttribute. Definition at line 730 of file fillval.h. 00730 { return &EndColour3; }
|
|
Reimplemented from ThreeColFillAttribute. Definition at line 734 of file fillval.h. 00734 { return(FILLSHAPE_4POINT); }
|
|
Reimplemented from FillGeometryAttribute. Definition at line 733 of file fillval.h. 00733 { return TRUE; }
|
|
Make a AttrFourColFill node from this graduated fill attribute.
Reimplemented from ThreeColFillAttribute. Definition at line 4071 of file fillval.cpp. 04072 { 04073 // Create new attribute node 04074 AttrFourColFill *pAttr = new AttrFourColColourFill; 04075 if (pAttr==NULL) 04076 // error message has already been set by new 04077 return NULL; 04078 04079 // Copy attribute value into the new node. 04080 pAttr->GetAttributeValue()->SimpleCopy(this); 04081 04082 // Return the new node 04083 return pAttr; 04084 }
|
|
A virtual comparison operator. See NodeAttribute::operator== for a description of why it's required.
Reimplemented from ThreeColFillAttribute. Definition at line 4050 of file fillval.cpp. 04051 { 04052 FourColFillAttribute* pAttrib = (FourColFillAttribute*) &Attrib; 04053 04054 return(ThreeColFillAttribute::operator==(Attrib) && (EndColour3 == pAttrib->EndColour3)); 04055 }
|
|
Sets the third colour of this fill (default to Yellow).
Reimplemented from FillGeometryAttribute. Definition at line 4097 of file fillval.cpp. 04098 { 04099 if (NewCol == NULL) 04100 { 04101 AttributeManager::FindDefaultColour(ColourManager::GetCurrentColourList(), 04102 _R(IDS_YELLOWNAME), &EndColour3); 04103 } 04104 else 04105 EndColour3 = *NewCol; 04106 }
|
|
|