#include <xpfcaps.h>
Inheritance diagram for XPFCFeather:
Public Member Functions | |
XPFCFeather (XPFConvertType ConvertType) | |
virtual | ~XPFCFeather () |
Protected Member Functions | |
virtual BOOL | DoesNodeMatch (Node *pNode) |
virtual BOOL | DoAttributesMatch (RenderRegion *pRegion) |
Private Member Functions | |
CC_DECLARE_MEMDUMP (XPFCFeather) |
Definition at line 952 of file xpfcaps.h.
|
Definition at line 958 of file xpfcaps.h. 00959 : XPFCapability(ConvertType) 00960 { 00961 }
|
|
Definition at line 962 of file xpfcaps.h.
|
|
|
|
Reimplemented from XPFCapability. Definition at line 1055 of file xpfcaps.cpp. 01056 { 01057 // Get the feather attribute from the render region 01058 OffscreenAttrValue* pAttr = pRegion->GetCurrentOffscreenAttr(); 01059 if (!IS_A(pAttr, FeatherAttrValue)) 01060 return(FALSE); 01061 01062 FeatherAttrValue* pFeather = (FeatherAttrValue*)pAttr; 01063 if (pFeather->GetFeatherSize() == 0) 01064 return(FALSE); 01065 01066 return(TRUE); 01067 }
|
|
Reimplemented from XPFCapability. Definition at line 1045 of file xpfcaps.cpp. 01046 { 01047 AttrFeather* pAttr = (AttrFeather*)(pNode->FindFirstChild(CC_RUNTIME_CLASS(AttrFeather))); 01048 if (pAttr && (pAttr->Value.GetFeatherSize() != 0)) 01049 return(TRUE); 01050 01051 return(FALSE); 01052 }
|