#include <blppbrsh.h>
Inheritance diagram for BlendedPathProcessorBrush:
Public Member Functions | |
BlendedPathProcessorBrush () | |
Constructor, mostly just calls the base class version. | |
~BlendedPathProcessorBrush () | |
Destructor. | |
virtual BrushDefinition * | GetOurBrushDefinition () |
As above. | |
virtual PathProcessorBrush * | Clone (void) |
To copy BlendedPathProcessorBrush or derived-class object, exactly the same as the PPB fn. except for the BlendedBrushDef. | |
virtual BOOL | IsBlended () |
void | SetBlendedBrushDefinition (BlendedBrushDefinition *pBrushDef) |
As above. | |
BOOL | SetBlendRatio (double Ratio) |
As above. | |
double | GetBlendRatio () |
As above. | |
void | DeleteBlendedBrushDefinition () |
Deletes the blended brush definition, use with caution, as the brush defintions are often used by multiple path processors. | |
Protected Attributes | |
BlendedBrushDefinition * | m_pBlendedBrushDef |
double | m_BlendRatio |
Private Member Functions | |
CC_DECLARE_DYNAMIC (BlendedPathProcessorBrush) |
Definition at line 123 of file blppbrsh.h.
|
Constructor, mostly just calls the base class version.
Definition at line 120 of file blppbrsh.cpp. 00120 : PathProcessorBrush() 00121 { 00122 m_pBlendedBrushDef = NULL; 00123 }
|
|
Destructor.
Definition at line 136 of file blppbrsh.cpp.
|
|
|
|
|
Deletes the blended brush definition, use with caution, as the brush defintions are often used by multiple path processors.
Definition at line 194 of file blppbrsh.cpp. 00195 { 00196 if (m_pBlendedBrushDef != NULL) 00197 delete m_pBlendedBrushDef; 00198 m_pBlendedBrushDef = NULL; 00199 }
|
|
As above.
Definition at line 294 of file blppbrsh.cpp. 00295 { 00296 return m_BlendRatio; 00297 }
|
|
As above.
Reimplemented from PathProcessorBrush. Definition at line 154 of file blppbrsh.cpp. 00155 { 00156 if (m_pBlendedBrushDef != NULL) 00157 return m_pBlendedBrushDef; 00158 00159 return PathProcessorBrush::GetOurBrushDefinition(); 00160 }
|
|
Reimplemented from PathProcessorBrush. Definition at line 135 of file blppbrsh.h. 00135 { return TRUE;}
|
|
As above.
Definition at line 175 of file blppbrsh.cpp. 00176 { 00177 m_pBlendedBrushDef = pDef; 00178 }
|
|
As above.
Definition at line 212 of file blppbrsh.cpp. 00213 { 00214 if (Ratio < 0 || Ratio > 1) 00215 return FALSE; 00216 m_BlendRatio = Ratio; 00217 return TRUE; 00218 }
|
|
Definition at line 148 of file blppbrsh.h. |
|
Definition at line 146 of file blppbrsh.h. |