ContourBecomeA Class Reference

This is used to turn all nodes which are to be contoured into a single path. More...

#include <nodecntr.h>

Inheritance diagram for ContourBecomeA:

BecomeA List of all members.

Public Member Functions

 ContourBecomeA (BecomeAReason Reason, CCRuntimeClass *pClass, UndoableOperation *pOp, BOOL Sel, Path *pPathList, Path *pSummedPath, INT32 Width, INT32 NumSteps, BOOL bOuter, CProfileBiasGain &Profile, JointType jt=RoundJoin, double Flatness=200.0, BOOL bIncludeLineWidths=TRUE)
void SetNodeIsPath (BOOL b)
virtual BOOL PassBack (NodeRenderableInk *pNewNode, NodeRenderableInk *pCreatedByNode, CCAttrMap *pAttrMap)
BOOL GenerateContourPaths (Path *pPathToContour, Path *pPathList, JointType jt, bool Outer=true, bool UseContourMode=true, LineCapType ct=LineCapRound)
void SetContourBrush (BOOL Set)

Protected Member Functions

BOOL PassbackBrush (NodeRenderableInk *pCreatedByNode, NodeRenderableInk **ppNewNode)

Private Attributes

Pathm_pPathList
Pathm_pSummedPath
INT32 m_NumSteps
INT32 m_Width
BOOL m_bNodeIsPath
BOOL m_bOuter
BOOL m_bIncludeLineWidths
CProfileBiasGain m_Profile
JointType m_Join
double m_Flatness
BOOL m_bContourBrush

Detailed Description

This is used to turn all nodes which are to be contoured into a single path.

Author:
David_McClarnon (Xara Group Ltd) <camelotdev@xara.com> Mc
Date:
18/10/94

Definition at line 237 of file nodecntr.h.


Constructor & Destructor Documentation

ContourBecomeA::ContourBecomeA BecomeAReason  Reason,
CCRuntimeClass pClass,
UndoableOperation pOp,
BOOL  Sel,
Path pPathList,
Path pSummedPath,
INT32  Width,
INT32  NumSteps,
BOOL  bOuter,
CProfileBiasGain Profile,
JointType  jt = RoundJoin,
double  Flatness = 200.0,
BOOL  bIncludeLineWidths = TRUE
[inline]
 

Definition at line 240 of file nodecntr.h.

00252                                                     : BecomeA(Reason, pClass, pOp, Sel)
00253     {
00254         m_pPathList = pPathList;
00255         m_bNodeIsPath = FALSE;
00256         m_Width = Width;
00257         m_NumSteps = NumSteps;
00258         m_pSummedPath = pSummedPath;
00259         m_bOuter = bOuter;
00260         m_Profile = Profile;
00261         m_Join    = jt;
00262         m_Flatness = Flatness;
00263         m_bIncludeLineWidths = bIncludeLineWidths;
00264 
00265         // we're only interested in the silhouettes of shapes.
00266         fSilhouette = TRUE;
00267 
00268         m_bContourBrush = FALSE;
00269     }


Member Function Documentation

BOOL ContourBecomeA::GenerateContourPaths Path pPathToContour,
Path pPathList,
JointType  jt,
bool  Outer = true,
bool  UseContourMode = true,
LineCapType  ct = LineCapRound
 

virtual BOOL ContourBecomeA::PassBack NodeRenderableInk pNewNode,
NodeRenderableInk pCreatedByNode,
CCAttrMap pAttrMap
[virtual]
 

Reimplemented from BecomeA.

BOOL ContourBecomeA::PassbackBrush NodeRenderableInk pCreatedByNode,
NodeRenderableInk **  ppNewNode
[protected]
 

void ContourBecomeA::SetContourBrush BOOL  Set  ) 
 

void ContourBecomeA::SetNodeIsPath BOOL  b  )  [inline]
 

Definition at line 273 of file nodecntr.h.

00273 { m_bNodeIsPath = b; }


Member Data Documentation

BOOL ContourBecomeA::m_bContourBrush [private]
 

Definition at line 304 of file nodecntr.h.

BOOL ContourBecomeA::m_bIncludeLineWidths [private]
 

Definition at line 296 of file nodecntr.h.

BOOL ContourBecomeA::m_bNodeIsPath [private]
 

Definition at line 294 of file nodecntr.h.

BOOL ContourBecomeA::m_bOuter [private]
 

Definition at line 295 of file nodecntr.h.

double ContourBecomeA::m_Flatness [private]
 

Definition at line 302 of file nodecntr.h.

JointType ContourBecomeA::m_Join [private]
 

Definition at line 300 of file nodecntr.h.

INT32 ContourBecomeA::m_NumSteps [private]
 

Definition at line 292 of file nodecntr.h.

Path* ContourBecomeA::m_pPathList [private]
 

Definition at line 288 of file nodecntr.h.

CProfileBiasGain ContourBecomeA::m_Profile [private]
 

Definition at line 298 of file nodecntr.h.

Path* ContourBecomeA::m_pSummedPath [private]
 

Definition at line 291 of file nodecntr.h.

INT32 ContourBecomeA::m_Width [private]
 

Definition at line 293 of file nodecntr.h.


The documentation for this class was generated from the following file:
Generated on Sat Nov 10 03:53:05 2007 for Camelot by  doxygen 1.4.4