SumAllPathsPathProcessor Class Reference

All paths are placed in the linked list, with their associated attribute maps. More...

#include <blndhelp.h>

Inheritance diagram for SumAllPathsPathProcessor:

PathProcessor CCObject SimpleCCObject List of all members.

Public Member Functions

 SumAllPathsPathProcessor (BOOL bDrawOriginalPaths=FALSE)
 Constructor.
 ~SumAllPathsPathProcessor ()
 Destructor.
virtual void ProcessPath (Path *pPath, RenderRegion *pRender, PathShape ShapePath=PATHSHAPE_PATH)
 Constructor.
ListGetList ()
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

Detailed Description

All paths are placed in the linked list, with their associated attribute maps.

Author:
David_McClarnon (Xara Group Ltd) <camelotdev@xara.com>
Date:
22/2/2000

Definition at line 249 of file blndhelp.h.


Constructor & Destructor Documentation

SumAllPathsPathProcessor::SumAllPathsPathProcessor BOOL  bDrawOriginalPaths = FALSE  ) 
 

Constructor.

Author:
David_McClarnon (Xara Group Ltd) <camelotdev@xara.com>
Date:
21/2/2000
Parameters:
Whether to draw the paths passed in or not [INPUTS]
[OUTPUTS] 
Returns:
See also:
-

Definition at line 778 of file blndhelp.cpp.

00779 {
00780     m_bDrawPaths = bDrawOriginalPaths;
00781     m_bEnabled = TRUE;
00782 }

SumAllPathsPathProcessor::~SumAllPathsPathProcessor  ) 
 

Destructor.

Author:
David_McClarnon (Xara Group Ltd) <camelotdev@xara.com>
Date:
21/2/2000
Parameters:
[INPUTS] 
[OUTPUTS] 
Returns:
See also:
-

Definition at line 796 of file blndhelp.cpp.

00797 {
00798     PathList.DeleteAll();
00799 }


Member Function Documentation

SumAllPathsPathProcessor::CC_DECLARE_DYNAMIC SumAllPathsPathProcessor   )  [private]
 

List* SumAllPathsPathProcessor::GetList  )  [inline]
 

Definition at line 262 of file blndhelp.h.

00262 { return &PathList; }

void SumAllPathsPathProcessor::InsertSumAllPathsElem SumAllPathsElem newElem  ) 
 

Allows us to insert paths directly into our list when performing convert to editable shapes on blended shadows, bevels, etc.

Author:
Chris_Snook (Xara Group Ltd) <camelotdev@xara.com>
Date:
8/6/2000
Parameters:
Element to be inserted [INPUTS]
[OUTPUTS] 
Returns:
See also:
-

Definition at line 854 of file blndhelp.cpp.

00855 {
00856     PathList.AddTail(newElem);
00857 }

void SumAllPathsPathProcessor::ProcessPath Path pPath,
RenderRegion pRender,
PathShape  ShapePath = PATHSHAPE_PATH
[virtual]
 

Constructor.

Author:
David_McClarnon (Xara Group Ltd) <camelotdev@xara.com>
Date:
21/2/2000
Parameters:
The path to draw, the render region and the shape path [INPUTS]
[OUTPUTS] 
Returns:
See also:
-

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 }

void SumAllPathsPathProcessor::SetEnabled BOOL  bEnabled  )  [inline]
 

Definition at line 264 of file blndhelp.h.

00264 { m_bEnabled = bEnabled; }


Member Data Documentation

BOOL SumAllPathsPathProcessor::m_bDrawPaths [private]
 

Definition at line 273 of file blndhelp.h.

BOOL SumAllPathsPathProcessor::m_bEnabled [private]
 

Definition at line 274 of file blndhelp.h.

List SumAllPathsPathProcessor::PathList [private]
 

Definition at line 272 of file blndhelp.h.


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