#include <blndtool.h>
Inheritance diagram for ChangeBlendOpParam:
Public Member Functions | |
ChangeBlendOpParam () | |
~ChangeBlendOpParam () | |
void | SetOldValues (NodeRenderableInk *pNodeBlend) |
Copies the current state of the blend node into this classes Old member vars. | |
void | SetNewValues (NodeRenderableInk *pNodeBlend) |
Copies the current state of the blend node into this classes New member vars. | |
void | SwapOldAndNew () |
Swaps the old and new values of this class. | |
void | SwapProfiles (CProfileBiasGain *pOldProfile, CProfileBiasGain *pNewProfile) |
Swaps the old and new profiles of this class by swapping the pointers. | |
Public Attributes | |
ChangeBlendType | ChangeType |
BOOL | NewAntiAlias |
BOOL | OldAntiAlias |
BOOL | NewOneToOne |
BOOL | OldOneToOne |
ColourBlendType | NewColBlendType |
ColourBlendType | OldColBlendType |
BOOL | NewTangential |
BOOL | OldTangential |
BOOL | OldBlendedOnCurve |
BOOL | NewBlendedOnCurve |
CProfileBiasGain | OldObjectProfile |
CProfileBiasGain | NewObjectProfile |
CProfileBiasGain | OldAttrProfile |
CProfileBiasGain | NewAttrProfile |
EndObject | OldEndObject |
EndObject | NewEndObject |
Definition at line 993 of file blndtool.h.
|
Definition at line 999 of file blndtool.h. 00999 { ChangeType = CHANGEBLEND_NONE; }
|
|
Definition at line 1000 of file blndtool.h.
|
|
Copies the current state of the blend node into this classes New member vars.
Definition at line 8281 of file blndtool.cpp. 08282 { 08283 if (pNodeBlend->IsKindOf(CC_RUNTIME_CLASS(NodeBlend))) 08284 { 08285 NewAntiAlias = !((NodeBlend *)pNodeBlend)->IsNotAntialiased(); 08286 NewOneToOne = ((NodeBlend *)pNodeBlend)->IsOneToOne(); 08287 NewColBlendType = ((NodeBlend *)pNodeBlend)->GetColourBlendType(); 08288 NewTangential = ((NodeBlend *)pNodeBlend)->IsTangential(); 08289 NewBlendedOnCurve = ((NodeBlend *)pNodeBlend)->IsOnACurve(); 08290 NewEndObject = ((NodeBlend *)pNodeBlend)->GetLastEdited(); 08291 08292 // DY profile code 9/99 08293 CProfileBiasGain* pProfile = ((NodeBlend *)pNodeBlend)->GetObjectProfile(); 08294 NewObjectProfile = *pProfile; 08295 pProfile = NULL; 08296 pProfile = ((NodeBlend *)pNodeBlend)->GetAttrProfile(); 08297 NewAttrProfile = *pProfile; 08298 pProfile = NULL; 08299 } 08300 }
|
|
Copies the current state of the blend node into this classes Old member vars.
Definition at line 8243 of file blndtool.cpp. 08244 { 08245 // DMc changed to include contours 08246 08247 if (pNodeBlend->IsKindOf(CC_RUNTIME_CLASS(NodeBlend))) 08248 { 08249 OldAntiAlias = !((NodeBlend*)pNodeBlend)->IsNotAntialiased(); 08250 OldOneToOne = ((NodeBlend *)pNodeBlend)->IsOneToOne(); 08251 OldColBlendType = ((NodeBlend *)pNodeBlend)->GetColourBlendType(); 08252 OldTangential = ((NodeBlend *)pNodeBlend)->IsTangential(); 08253 OldBlendedOnCurve = ((NodeBlend *)pNodeBlend)->IsOnACurve(); 08254 OldEndObject = ((NodeBlend *)pNodeBlend)->GetLastEdited(); 08255 08256 // get the object profile values 08257 CProfileBiasGain* pProfile = ((NodeBlend *)pNodeBlend)->GetObjectProfile(); 08258 OldObjectProfile = *pProfile; 08259 pProfile = NULL; 08260 08261 pProfile = ((NodeBlend *)pNodeBlend)->GetAttrProfile(); 08262 OldAttrProfile = *pProfile; 08263 pProfile = NULL; 08264 } 08265 }
|
|
Swaps the old and new values of this class.
Definition at line 8316 of file blndtool.cpp. 08317 { 08318 SWAP(BOOL, OldAntiAlias, NewAntiAlias); 08319 SWAP(BOOL, OldOneToOne, NewOneToOne); 08320 SWAP(ColourBlendType, OldColBlendType, NewColBlendType); 08321 SWAP(BOOL, OldTangential, NewTangential); 08322 SWAP(BOOL, OldBlendedOnCurve, NewBlendedOnCurve); 08323 SWAP(EndObject, OldEndObject, NewEndObject); 08324 // DY 9/99 profile code 08325 SwapProfiles(&OldObjectProfile, &NewObjectProfile); 08326 SwapProfiles(&OldAttrProfile, &NewAttrProfile); 08327 }
|
|
Swaps the old and new profiles of this class by swapping the pointers.
Definition at line 8343 of file blndtool.cpp. 08345 { 08346 CProfileBiasGain TempProfile = *pOldProfile; 08347 *pOldProfile = *pNewProfile; 08348 *pNewProfile = TempProfile; 08349 }
|
|
Definition at line 1007 of file blndtool.h. |
|
Definition at line 1009 of file blndtool.h. |
|
Definition at line 1029 of file blndtool.h. |
|
Definition at line 1023 of file blndtool.h. |
|
Definition at line 1015 of file blndtool.h. |
|
Definition at line 1032 of file blndtool.h. |
|
Definition at line 1026 of file blndtool.h. |
|
Definition at line 1012 of file blndtool.h. |
|
Definition at line 1018 of file blndtool.h. |
|
Definition at line 1010 of file blndtool.h. |
|
Definition at line 1028 of file blndtool.h. |
|
Definition at line 1022 of file blndtool.h. |
|
Definition at line 1016 of file blndtool.h. |
|
Definition at line 1031 of file blndtool.h. |
|
Definition at line 1025 of file blndtool.h. |
|
Definition at line 1013 of file blndtool.h. |
|
Definition at line 1019 of file blndtool.h. |