class CCamera::CCameraOverlay::TOverlayParameters |
Overlay parameters characterizing a particular overlay.
Public Member Functions | |
---|---|
TOverlayParameters () | |
IMPORT_C TUint | Size () |
IMPORT_C TUint | Version () |
Public Attributes | |
---|---|
TInt | iAlphaValue |
TUint | iCurrentModes |
TUint | iCurrentTypes |
TPoint | iPosition |
TInt | iViewFinderHandle |
TUint | iZOrder |
Private Attributes | |
---|---|
TInt | iReserved2 |
TInt | iReserved3 |
TInt | iReserved4 |
TInt | iReserved5 |
IMPORT_C | TOverlayParameters | ( | ) | [explicit] |
Constructor for the TOverlayParameters class.
IMPORT_C TUint | Size | ( | ) | const |
Returns the size of the class. Used for extensibility by deriving from this base class and adding new member variables. Intended to be used for implementation of methods where this class reference is passed as function arguments. Implementation of such methods can find out the whether the actual class passed is base or the derived one. So, if a new application is made to run on an old implementation, an error may occur once the old implementation detects this by getting the size information of the T class passed. Also, if an old application is made to run on a new implementation, this can be corrrectly handled if the derived class variables handling is done in a proper 'if-else' statement.
The size will be modified when the T-class gets updated.
IMPORT_C TUint | Version | ( | ) | const |
Returns the version of the class. Used for extensibility specially when the class members are not added but the Reserved members get used at a later stage.
The version will be modified when the T-class gets updated.
TInt | iAlphaValue |
This is the alpha value to be applied when iCurrentTypes contains type CCamera::CCameraOverlay::TOverlayType::EPerPlane. The alpha value for red, green and blue is packed into this TInt. The layout of this TInt is such that the most significant byte (from left side) is not used at all and the remaining three bytes (after the most significant byte) contains the alpha value for red, green and blue. Otherwise, if iCurrentTypes only contains type CCamera::CCameraOverlay::TOverlayType::EPerPixel, then iAlphaValue will not be used.
TUint | iCurrentModes |
The camera modes in which this image overlay can be used. The modes are held as a bitwise logical OR of the relevant individual modes defined in CCamera::CCameraOverlay::TOverlayCameraMode .
TUint | iCurrentTypes |
The camera types in which this image overlay can be used. The types are held as a bitwise logical OR of the relevant individual types defined in CCamera::CCameraOverlay::TOverlayType .
TPoint | iPosition |
Top left corner within the original image, where the overlay image is to be blended.
TInt | iViewFinderHandle |
The handle for the viewfinder on which the overlay is supposed to be applied. Only one viewfinder handle can be passed. If KECamOverlayNoSpecificViewFinderHandle is provided by the client, then the overlay is supposed to be applied for every viewfinder handle of type as given by iCurrentModes. If KECamOverlayInvalidViewFinderHandle, then the default implementation is being used where TOverlayParameters::iCurrentModes will not be neglected and overlay will be applied for every viewfinder alongwith other camera modes.
TUint | iZOrder |
The z-order of the overlay to indicate relative depth when several overlays are applied. Values are in the range 0 to 100. The overlay with iZOrder of 0 is the deepest.
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.