class CCamera::CCameraDirectSnapshot::TDirectSnapshotParameters |
Specifes the parameters necessary for direct snapshots. The screen co-ordinates used for direct snapshot will be the same as used for the parent direct viewfinder screen co-ordinates. This screen co-ordinate for direct snapshot may be changed by the implementation in certain cases for alignment.
Public Member Functions | |
---|---|
TDirectSnapshotParameters() | |
IMPORT_C TBool | IsAspectRatioMaintained() |
IMPORT_C void | SetAspectRatioState(TBool) |
IMPORT_C TUint | Size() |
IMPORT_C TUint | Version() |
Public Attributes | |
---|---|
TRgb | iBgColor |
TTimeIntervalMicroSeconds32 | iDisplayTime |
TUint | iDriveModes |
Private Attributes | |
---|---|
TUint | iIsAspectRatioMaintained |
TInt | iReserved1 |
TInt | iReserved2 |
TInt | iReserved3 |
TUint | iReserved4 |
TUint | iSize |
TUint | iVersion |
IMPORT_C void | SetAspectRatioState | ( | TBool | aIsAspectRatioMaintained | ) |
TBool aIsAspectRatioMaintained |
TRgb | iBgColor |
The background colour to be used if the snapshot has been scaled (maintaining its aspect ratio) and does not fully fill the dimension as per the direct view finder screen size. The TRect supposed to be used for direct snapshot may be modified by the implementation in certain cases for alignment.
TTimeIntervalMicroSeconds32 | iDisplayTime |
The time duration during which the snapshot data should appear on the screen. The implementation may internally change this display time if the client sets iDisplayTime to TTimeIntervalMicroSeconds32 (KECamSnapshotDefaultDisplayTime). This may happen when the client doesn't want to specify a specific duration and would rather let the implementation decide.
TUint | iDriveModes |
The bit field representing the drive modes for which the direct snapshot will be displayed if enabled. Refer CCamera::CCameraAdvancedSettings::TDriveMode.
TUint | iIsAspectRatioMaintained | [private] |
Set to ETrue if the aspect ratio of the direct snapshot image must be maintained when scaling down