#include <filltool.h>
Inheritance diagram for AttrRemoveTransp:
Public Member Functions | |
AttrRemoveTransp () | |
virtual AttrFillGeometry * | MutateFill (AttrFillGeometry *FillToMutate) |
Removes all transparency from a fill. | |
virtual NodeAttribute * | GetOtherAttrToApply (BOOL *IsMutate) |
Some attributes require a secondary atribute to be changed when they are changed. This routine obtains a pointer to the secondary attribute to apply. |
Definition at line 728 of file filltool.h.
|
Definition at line 733 of file filltool.h.
|
|
Some attributes require a secondary atribute to be changed when they are changed. This routine obtains a pointer to the secondary attribute to apply.
Reimplemented from AttrTranspChange. Definition at line 10018 of file filltool.cpp. 10019 { 10020 ERROR3IF(IsMutate == NULL, "NULL flag pointer passed to GetOtherAttrToApply"); 10021 10022 // Remove Transparency also need to remove line transparency 10023 NodeAttribute* OtherAttr = new AttrRemoveStrokeTransp; 10024 if (OtherAttr == NULL) 10025 return NULL; 10026 10027 *IsMutate = TRUE; 10028 10029 return OtherAttr; 10030 }
|
|
Removes all transparency from a fill.
Reimplemented from AttrTranspChange. Definition at line 9981 of file filltool.cpp. 09982 { 09983 AttrFillGeometry* NewFill = new AttrFlatTranspFill; 09984 if (NewFill == NULL) 09985 return NULL; 09986 09987 UINT32 TypeNone = TT_Mix; 09988 UINT32 NoTransp = 0; 09989 09990 NewFill->SetTranspType(TypeNone); 09991 NewFill->SetStartTransp(&NoTransp); 09992 09993 if (GetApplication()->GetBlobManager()->GetCurrentInterest().Fill && 09994 FillToMutate->IsVisible() && 09995 FillToMutate->FindParent() && 09996 FillToMutate->FindParent()->IsSelected()) 09997 { 09998 FillToMutate->RenderFillBlobs(); 09999 } 10000 10001 // Return the Mutated Fill 10002 return NewFill; 10003 }
|