XPFCFeather Class Reference

This is the class for Feather capabilities. More...

#include <xpfcaps.h>

Inheritance diagram for XPFCFeather:

XPFCapability List of all members.

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)

Detailed Description

This is the class for Feather capabilities.

Author:
Gerry_Iles (Xara Group Ltd) <camelotdev@xara.com>
Date:
26/01/05

Definition at line 952 of file xpfcaps.h.


Constructor & Destructor Documentation

XPFCFeather::XPFCFeather XPFConvertType  ConvertType  )  [inline]
 

Definition at line 958 of file xpfcaps.h.

00959         : XPFCapability(ConvertType)
00960     {
00961     }

virtual XPFCFeather::~XPFCFeather  )  [inline, virtual]
 

Definition at line 962 of file xpfcaps.h.

00963     {
00964     }


Member Function Documentation

XPFCFeather::CC_DECLARE_MEMDUMP XPFCFeather   )  [private]
 

BOOL XPFCFeather::DoAttributesMatch RenderRegion pRegion  )  [protected, virtual]
 

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 }

BOOL XPFCFeather::DoesNodeMatch Node pNode  )  [protected, virtual]
 

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 }


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 04:03:24 2007 for Camelot by  doxygen 1.4.4