#include <fillattr2.h>
Inheritance diagram for AttrTranspFillMappingSin:
Public Member Functions | |
AttrTranspFillMappingSin () | |
AttrTranspFillMappingSin (Node *ContextNode, AttachNodeDirection Direction, BOOL Locked=FALSE, BOOL Mangled=FALSE, BOOL Marked=FALSE, BOOL Selected=FALSE) | |
void | Render (RenderRegion *pRender) |
'Renders' a sinusoidal graduation FillTransp 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 void | PolyCopyNodeContents (NodeRenderable *pNodeCopy) |
Polymorphically copies the contents of this node to another. | |
virtual BOOL | WritePreChildrenWeb (BaseCamelotFilter *pFilter) |
Writes the transparent sine fill mapping record to the filter. | |
virtual BOOL | WritePreChildrenNative (BaseCamelotFilter *pFilter) |
Public Attributes | |
TranspFillMappingSinAttribute | Value |
Private Member Functions | |
BOOL | CopyNodeContents (AttrTranspFillMappingSin *NodeCopy) |
This method copies the node's contents to the node pointed to by NodeCopy. |
Definition at line 2908 of file fillattr2.h.
|
Definition at line 2913 of file fillattr2.h. 02913 : AttrTranspFillMapping() {}
|
|
Definition at line 2914 of file fillattr2.h. 02919 : 02920 AttrTranspFillMapping(ContextNode, Direction, Locked, Mangled, Marked, Selected) {}
|
|
This method copies the node's contents to the node pointed to by NodeCopy.
Definition at line 19543 of file fillattr.cpp. 19544 { 19545 ERROR2IF(NodeCopy == NULL, FALSE, "NULL pointer in AttrTranspFillMappingSin::CopyNodeContents!"); 19546 19547 NodeAttribute::CopyNodeContents(NodeCopy); 19548 19549 // Copy contents specific to derived class here 19550 NodeCopy->Value.SimpleCopy(&Value); 19551 return TRUE; 19552 }
|
|
Reimplemented from NodeAttribute. Definition at line 2928 of file fillattr2.h. 02928 { return &Value; }
|
|
Returns a string resource ID describing the attribute.
Reimplemented from NodeAttribute. Definition at line 19523 of file fillattr.cpp. 19524 { 19525 return (_R(IDS_FILLMAPPINGSIN)); 19526 }
|
|
For finding the size of the node.
Reimplemented from Node. Definition at line 19590 of file fillattr.cpp. 19591 { 19592 return (sizeof(AttrTranspFillMappingSin)); 19593 }
|
|
Polymorphically copies the contents of this node to another.
Reimplemented from NodeRenderable. Definition at line 19567 of file fillattr.cpp. 19568 { 19569 ENSURE(pNodeCopy, "Trying to copy a node's contents into a NULL node"); 19570 ENSURE(IS_A(pNodeCopy, AttrTranspFillMappingSin), "PolyCopyNodeContents given wrong dest node type"); 19571 19572 if (IS_A(pNodeCopy, AttrTranspFillMappingSin)) 19573 CopyNodeContents((AttrTranspFillMappingSin*)pNodeCopy); 19574 }
|
|
'Renders' a sinusoidal graduation FillTransp mapping attribute.
Reimplemented from NodeAttribute. Definition at line 19481 of file fillattr.cpp. 19482 { 19483 pRender->SetTranspFillMapping(&Value, FALSE); 19484 }
|
|
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 19501 of file fillattr.cpp. 19502 { 19503 AttrTranspFillMappingSin* NodeCopy = new AttrTranspFillMappingSin(); 19504 if (NodeCopy == NULL) 19505 return NULL; 19506 19507 CopyNodeContents(NodeCopy); 19508 19509 return NodeCopy; 19510 }
|
|
Reimplemented from Node. Definition at line 19628 of file fillattr.cpp. 19629 { 19630 #ifdef DO_EXPORT 19631 return WritePreChildrenWeb(pFilter); 19632 #else 19633 return FALSE; 19634 #endif 19635 }
|
|
Writes the transparent sine fill mapping record to the filter. > virtual BOOL AttrTranspFillMappingSin::WritePreChildrenWeb(BaseCamelotFilter* pFilter)
Reimplemented from Node. Definition at line 19613 of file fillattr.cpp. 19614 { 19615 #ifdef DO_EXPORT 19616 ERROR2IF(pFilter == NULL,FALSE,"NULL filter param"); 19617 19618 ERROR3("v2 file format does not support this attribute"); 19619 return FALSE; 19620 #else 19621 return FALSE; 19622 #endif 19623 }
|
|
Definition at line 2939 of file fillattr2.h. |