#include <fillattr2.h>
Inheritance diagram for AttrFillMappingSin:
Public Member Functions | |
AttrFillMappingSin () | |
AttrFillMappingSin (Node *ContextNode, AttachNodeDirection Direction, BOOL Locked=FALSE, BOOL Mangled=FALSE, BOOL Marked=FALSE, BOOL Selected=FALSE) | |
void | Render (RenderRegion *pRender) |
'Renders' a sinusoidal graduation fill mapping attribute. | |
Node * | SimpleCopy () |
This method returns a shallow copy of the node with all Node pointers NULL. The function is virtual, and must be defined for all derived classes. | |
virtual UINT32 | GetAttrNameID (void) |
Returns a string resource ID describing the attribute. | |
virtual UINT32 | GetNodeSize () const |
For finding the size of the node. | |
virtual AttributeValue * | GetAttributeValue () |
virtual BOOL | WritePreChildrenWeb (BaseCamelotFilter *pFilter) |
Writes the sine fill mappine record to the filter. | |
virtual BOOL | WritePreChildrenNative (BaseCamelotFilter *pFilter) |
virtual void | PolyCopyNodeContents (NodeRenderable *pNodeCopy) |
Polymorphically copies the contents of this node to another. | |
Public Attributes | |
FillMappingSinAttribute | Value |
Private Member Functions | |
BOOL | CopyNodeContents (AttrFillMappingSin *NodeCopy) |
This method copies the node's contents to the node pointed to by NodeCopy. |
Definition at line 2614 of file fillattr2.h.
|
Definition at line 2619 of file fillattr2.h. 02619 : AttrFillMapping() {}
|
|
Definition at line 2620 of file fillattr2.h. 02625 : 02626 AttrFillMapping(ContextNode, Direction, Locked, Mangled, Marked, Selected) {}
|
|
This method copies the node's contents to the node pointed to by NodeCopy.
Definition at line 18573 of file fillattr.cpp. 18574 { 18575 ERROR2IF(NodeCopy == NULL, FALSE, "NULL pointer in AttrFillMappingSin::CopyNodeContents!"); 18576 18577 NodeAttribute::CopyNodeContents(NodeCopy); 18578 18579 // Copy contents specific to derived class here 18580 NodeCopy->Value.SimpleCopy(&Value); 18581 return TRUE; 18582 }
|
|
Reimplemented from NodeAttribute. Definition at line 2634 of file fillattr2.h. 02634 { return &Value; }
|
|
Returns a string resource ID describing the attribute.
Reimplemented from NodeAttribute. Definition at line 18553 of file fillattr.cpp. 18554 { 18555 return (_R(IDS_FILLMAPPINGSIN)); 18556 }
|
|
For finding the size of the node.
Reimplemented from Node. Definition at line 18620 of file fillattr.cpp. 18621 { 18622 return (sizeof(AttrFillMappingSin)); 18623 }
|
|
Polymorphically copies the contents of this node to another.
Reimplemented from NodeRenderable. Definition at line 18597 of file fillattr.cpp. 18598 { 18599 ENSURE(pNodeCopy, "Trying to copy a node's contents into a NULL node"); 18600 ENSURE(IS_A(pNodeCopy, AttrFillMappingSin), "PolyCopyNodeContents given wrong dest node type"); 18601 18602 if (IS_A(pNodeCopy, AttrFillMappingSin)) 18603 CopyNodeContents((AttrFillMappingSin*)pNodeCopy); 18604 }
|
|
'Renders' a sinusoidal graduation fill mapping attribute.
Reimplemented from NodeAttribute. Definition at line 18511 of file fillattr.cpp. 18512 { 18513 pRender->SetFillMapping(&Value, FALSE); 18514 }
|
|
This method returns a shallow copy of the node with all Node pointers NULL. The function is virtual, and must be defined for all derived classes.
Reimplemented from NodeAttribute. Definition at line 18531 of file fillattr.cpp. 18532 { 18533 AttrFillMappingSin* NodeCopy = new AttrFillMappingSin(); 18534 if (NodeCopy == NULL) 18535 return NULL; 18536 18537 CopyNodeContents(NodeCopy); 18538 18539 return NodeCopy; 18540 }
|
|
Reimplemented from Node. Definition at line 18654 of file fillattr.cpp. 18655 { 18656 #ifdef DO_EXPORT 18657 return WritePreChildrenWeb(pFilter); 18658 #else 18659 return FALSE; 18660 #endif 18661 }
|
|
Writes the sine fill mappine record to the filter. > virtual BOOL AttrFillMappingSin::WritePreChildrenWeb(BaseCamelotFilter* pFilter)
Reimplemented from Node. Definition at line 18639 of file fillattr.cpp. 18640 { 18641 #ifdef DO_EXPORT 18642 ERROR2IF(pFilter == NULL,FALSE,"NULL filter param"); 18643 18644 ERROR3("v2 file format does not support this attribute"); 18645 return FALSE; 18646 #else 18647 return FALSE; 18648 #endif 18649 }
|
|
Definition at line 2645 of file fillattr2.h. |