CCamera::CCameraDirectSnapshot::TDirectSnapshotParameters Class Reference

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.

Constructor & Destructor Documentation

TDirectSnapshotParameters()

IMPORT_CTDirectSnapshotParameters()

Member Functions Documentation

IsAspectRatioMaintained()

IMPORT_C TBoolIsAspectRatioMaintained()const

SetAspectRatioState(TBool)

IMPORT_C voidSetAspectRatioState(TBoolaIsAspectRatioMaintained)

Parameters

TBool aIsAspectRatioMaintained

Size()

IMPORT_C TUintSize()const

Version()

IMPORT_C TUintVersion()const

Member Data Documentation

TRgb iBgColor

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

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

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

TUint iIsAspectRatioMaintained[private]

Set to ETrue if the aspect ratio of the direct snapshot image must be maintained when scaling down

TInt iReserved1

TInt iReserved1[private]

TInt iReserved2

TInt iReserved2[private]

TInt iReserved3

TInt iReserved3[private]

TUint iReserved4

TUint iReserved4[private]

TUint iSize

TUint iSize[private]

TUint iVersion

TUint iVersion[private]