#include <xpfcaps.h>
Inheritance diagram for XPFCEllipse:
Public Member Functions | |
XPFCEllipse (XPFConvertType ConvertType, XPFBOOL bComplex) | |
virtual | ~XPFCEllipse () |
Protected Member Functions | |
virtual BOOL | DoesNodeMatch (Node *pNode) |
Protected Attributes | |
XPFBOOL | m_bComplex |
Private Member Functions | |
CC_DECLARE_MEMDUMP (XPFCEllipse) |
Definition at line 579 of file xpfcaps.h.
|
Definition at line 585 of file xpfcaps.h. 00586 : XPFCComplexClass(CC_RUNTIME_CLASS(NodeRegularShape), ConvertType) 00587 { 00588 m_bComplex = bComplex; 00589 }
|
|
Definition at line 590 of file xpfcaps.h.
|
|
|
|
Reimplemented from XPFCComplexClass. Definition at line 568 of file xpfcaps.cpp. 00569 { 00570 // If we aren't the correct type of node then return 00571 if (!XPFCComplexClass::DoesNodeMatch(pNode)) 00572 return(FALSE); 00573 00574 NodeRegularShape* pShape = (NodeRegularShape*)pNode; 00575 00576 if (!CXaraFileRegularShape::IsEllipse(pShape)) 00577 return(FALSE); 00578 00579 // Now test the property attributes 00580 if (m_bComplex != XPFB_UNKNOWN && CXaraFileRegularShape::IsSimple(pShape) == m_bComplex) 00581 return(FALSE); 00582 00583 return(TRUE); 00584 }
|
|
|