#include <xpfcaps.h>
Inheritance diagram for XPFCBevel:
Public Member Functions | |
XPFCBevel (XPFConvertType ConvertType, XPFProp Type, XPFProp Side) | |
virtual | ~XPFCBevel () |
Protected Member Functions | |
virtual BOOL | DoesNodeMatch (Node *pNode) |
Protected Attributes | |
XPFProp | m_Type |
XPFProp | m_Side |
Private Member Functions | |
CC_DECLARE_MEMDUMP (XPFCBevel) |
Definition at line 426 of file xpfcaps.h.
|
Definition at line 432 of file xpfcaps.h. 00433 : XPFCComplexClass(CC_RUNTIME_CLASS(NodeBevelController), ConvertType) 00434 { 00435 m_Type = Type; 00436 m_Side = Side; 00437 }
|
|
Definition at line 438 of file xpfcaps.h.
|
|
|
|
Reimplemented from XPFCComplexClass. Definition at line 406 of file xpfcaps.cpp. 00407 { 00408 // If we aren't the correct type of node then return 00409 if (!XPFCComplexClass::DoesNodeMatch(pNode)) 00410 return(FALSE); 00411 00412 NodeBevelController* pCont = (NodeBevelController*)pNode; 00413 00414 // Now test the property attributes 00415 if (m_Type != XPFP_UNKNOWN && pCont->m_BevelType != m_Type) 00416 return(FALSE); 00417 00418 if (m_Side != XPFP_UNKNOWN) 00419 { 00420 XPFProp Side = (pCont->m_bOuter) ? XPFP_BEVELSIDE_OUTER : XPFP_BEVELSIDE_INNER; 00421 if (m_Side != Side) 00422 return(FALSE); 00423 } 00424 00425 return(TRUE); 00426 }
|
|
|
|
|