class CCamera::CCameraV2Histogram::TDirectHistogramParameters |
Specifes the parameters necessary for a direct histogram.
Public Member Functions | |
---|---|
TDirectHistogramParameters () | |
IMPORT_C TUint | Size () |
IMPORT_C TUint | Version () |
Public Attributes | |
---|---|
TRgb | iBackgroundColor |
TRgb | iHistogramColor |
TSize | iHistogramSize |
THistogramType | iHistogramType |
TPoint | iPosition |
Private Attributes | |
---|---|
TInt | iReserved1 |
TInt | iReserved2 |
TInt | iReserved3 |
TUint | iSize |
TUint | iVersion |
IMPORT_C | TDirectHistogramParameters | ( | ) |
Constructor for the TDirectHistogramParameters class. Sets the size and version of this 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 handled correctly 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.
TRgb | iHistogramColor |
The colour and alpha blending with which the histogram will be displayed.
THistogramType | iHistogramType |
The type of histogram to be prepared. This must be one of the supported histogram types returned by SupportedHistograms().
TPoint | iPosition |
The position on the screen (in pixels) where the histogram is to be displayed.
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.