#include <blndhelp.h>
Inheritance diagram for SumAllPathsPathProcessor:
Public Member Functions | |
SumAllPathsPathProcessor (BOOL bDrawOriginalPaths=FALSE) | |
Constructor. | |
~SumAllPathsPathProcessor () | |
Destructor. | |
virtual void | ProcessPath (Path *pPath, RenderRegion *pRender, PathShape ShapePath=PATHSHAPE_PATH) |
Constructor. | |
List * | GetList () |
void | SetEnabled (BOOL bEnabled) |
void | InsertSumAllPathsElem (SumAllPathsElem *newElem) |
Allows us to insert paths directly into our list when performing convert to editable shapes on blended shadows, bevels, etc. | |
Private Member Functions | |
CC_DECLARE_DYNAMIC (SumAllPathsPathProcessor) | |
Private Attributes | |
List | PathList |
BOOL | m_bDrawPaths |
BOOL | m_bEnabled |
Definition at line 249 of file blndhelp.h.
|
Constructor.
Definition at line 778 of file blndhelp.cpp. 00779 { 00780 m_bDrawPaths = bDrawOriginalPaths; 00781 m_bEnabled = TRUE; 00782 }
|
|
Destructor.
Definition at line 796 of file blndhelp.cpp.
|
|
|
|
Definition at line 262 of file blndhelp.h. 00262 { return &PathList; }
|
|
Allows us to insert paths directly into our list when performing convert to editable shapes on blended shadows, bevels, etc.
Definition at line 854 of file blndhelp.cpp.
|
|
Constructor.
Implements PathProcessor. Definition at line 815 of file blndhelp.cpp. 00818 { 00819 if (!m_bEnabled) 00820 { 00821 pRender->DrawPath(pPath, this); 00822 return; 00823 } 00824 00825 if (m_bDrawPaths) 00826 { 00827 pRender->DrawPath(pPath, this); 00828 } 00829 00830 // create a new element and add it to the list 00831 CCAttrMap *pAttrMap = CCAttrMap::MakeAttrMapFromRenderRegion(pRender); 00832 00833 SumAllPathsElem * pElem = new SumAllPathsElem(pPath, pAttrMap); 00834 00835 PathList.AddTail(pElem); 00836 }
|
|
Definition at line 264 of file blndhelp.h. 00264 { m_bEnabled = bEnabled; }
|
|
Definition at line 273 of file blndhelp.h. |
|
Definition at line 274 of file blndhelp.h. |
|
Definition at line 272 of file blndhelp.h. |