CAlfBrush Class Reference
class CAlfBrush : public CAlfPropertyOwner |
A brush implements a series of graphics drawing operations. Brushes are attached to visuals and drawn whenever the visual is drawn. Brushes can be used for augmenting the normal appearance of visuals with graphical features such as background pictures, gradients, overlay icons, and selection highlights. This is base class for all brushes and it cannot be instantiated.
Usage:
//Sets the brush layer
myBrush->setLayer( EAlfBrushLayerForeground );
alfclient.lib
- Since
- S60 v3.2
Nested Classes and Structures
Inherited Functions |
---|
| CAlfPropertyOwner::CAlfPropertyOwner() |
| CAlfPropertyOwner::CopyProperty(const CAlfPropertyOwner &,const TDesC8 &) |
| CAlfPropertyOwner::PropertyClear() |
| CAlfPropertyOwner::PropertyFindInteger(const TDesC8 &,TInt *)const |
| CAlfPropertyOwner::PropertyFindString(const TDesC8 &,TDesC **)const |
| CAlfPropertyOwner::PropertyRemove(const TDesC8 &) |
| CAlfPropertyOwner::PropertySetIntegerL(const TDesC8 &,TInt,TInt,TInt) |
| CAlfPropertyOwner::PropertySetStringL(const TDesC8 &,const TDesC &) |
| CAlfPropertyOwner::~CAlfPropertyOwner() |
| CBase::CBase() |
| CBase::Delete(CBase *) |
| CBase::Extension_(TUint,TAny *&,TAny *) |
| CBase::operator new(TUint) |
| CBase::operator new(TUint,TAny *) |
| CBase::operator new(TUint,TLeave) |
| CBase::operator new(TUint,TLeave,TUint) |
| CBase::operator new(TUint,TUint) |
| CBase::~CBase() |
Private Attributes |
---|
TPrivateData * | iData |
Constructor & Destructor Documentation
CAlfBrush()
IMPORT_C | CAlfBrush | ( | ) | [protected] |
~CAlfBrush()
IMPORT_C | ~CAlfBrush | ( | ) | [virtual] |
Member Functions Documentation
AppendContainingArray(CAlfBrushArray &)
TInt
| AppendContainingArray | ( | CAlfBrushArray & | aContainingArray | ) | |
Parameters
CAlfBrushArray & aContainingArray | |
ClipToVisual()
IMPORT_C TBool | ClipToVisual | ( | ) | const |
Gets whether the brush can draw outside brush guide (i.e. visual's) rect
Comms()
IMPORT_C CAlfGenComponent * | Comms | ( | ) | const |
ConstructL(CAlfEnv &, TInt, TInt, const TDesC8 &)
IMPORT_C void | ConstructL | ( | CAlfEnv & | aEnv, |
| TInt | aImplementationId, |
| TInt | aImplementationUid, |
| const TDesC8 & | aConstructionParams |
| ) | [protected] |
Parameters
CAlfEnv & aEnv | |
TInt aImplementationId | |
TInt aImplementationUid | |
const TDesC8 & aConstructionParams | |
ConstructL()
IMPORT_C void | ConstructL | ( | ) | [protected] |
Identifier()
IMPORT_C TInt | Identifier | ( | ) | const |
Return the server side handle
PropertyOwnerExtension(const TUid &, TAny **)
IMPORT_C void | PropertyOwnerExtension | ( | const TUid & | aExtensionUid, |
| TAny ** | aExtensionParams |
| ) | [protected, virtual] |
Parameters
const TUid & aExtensionUid | |
TAny ** aExtensionParams | |
RemoveContainingArray(CAlfBrushArray &)
void | RemoveContainingArray | ( | CAlfBrushArray & | aContainingArray | ) | |
Parameters
CAlfBrushArray & aContainingArray | |
SetClipToVisual(TBool)
IMPORT_C void | SetClipToVisual | ( | TBool | aClipToVisual | ) | |
Sets whether the brush can draw outside brush guide (i.e. visual's) rect
Parameters
TBool aClipToVisual | If ETrue, drawing is clipped to visuals area. |
SetOpacity(const TAlfTimedValue &)
Member Data Documentation
TPrivateData * iData
TPrivateData * | iData | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.