#include <xpfcaps.h>
Inheritance diagram for XPFCBitmap:
Public Member Functions | |
XPFCBitmap (XPFConvertType ConvertType, XPFBOOL bComplex, XPFBOOL bContone) | |
virtual | ~XPFCBitmap () |
Protected Member Functions | |
virtual BOOL | DoesNodeMatch (Node *pNode) |
Protected Attributes | |
XPFBOOL | m_bComplex |
XPFBOOL | m_bContone |
Private Member Functions | |
CC_DECLARE_MEMDUMP (XPFCBitmap) |
Definition at line 649 of file xpfcaps.h.
|
Definition at line 655 of file xpfcaps.h. 00656 : XPFCComplexClass(CC_RUNTIME_CLASS(NodeBitmap), ConvertType) 00657 { 00658 m_bComplex = bComplex; 00659 m_bContone = bContone; 00660 }
|
|
Definition at line 661 of file xpfcaps.h.
|
|
|
|
Reimplemented from XPFCComplexClass. Definition at line 612 of file xpfcaps.cpp. 00613 { 00614 // If we aren't the correct type of node then return 00615 if (!XPFCComplexClass::DoesNodeMatch(pNode)) 00616 return(FALSE); 00617 00618 NodeBitmap* pBitmap = (NodeBitmap*)pNode; 00619 00620 // Now test the property attributes 00621 if (m_bComplex != XPFB_UNKNOWN) 00622 { 00623 // if (CXaraFileRegularShape::IsSimple(pBitmap) == m_bComplex) 00624 return(FALSE); 00625 } 00626 00627 if (m_bContone != XPFB_UNKNOWN) 00628 { 00629 BOOL bContone = (pBitmap->GetStartColour() != NULL) || (pBitmap->GetEndColour() != NULL); 00630 if (m_bContone != bContone) 00631 return(FALSE); 00632 } 00633 00634 return(TRUE); 00635 }
|
|
|
|
|