1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef __BitmapTransforms_inl
17 #define __BitmapTransforms_inl
19 #include <bitmaptransforms.h>
21 const TUid KICLUidPostProcessCommand = { 0x101F7C18 };
22 const TUid KICLUidUseLowMemoryAlgorithmCommand = { 0x101F7C42 };
23 const TUid KICLUidSetQualityAlgorithmCommand = { 0x101F7C4C };
32 a boolean flag which if true will set post processing on
33 (Note by defualt the scaler has post processing on)
37 inline TInt CBitmapScaler::DisablePostProcessing( TBool aState )
39 return CustomCommand( KICLUidPostProcessCommand,&aState);
48 a boolean flag which if true will enable the low memory algorithm
49 (Note by defualt the scaler does not use the low memory algorithm)
53 inline TInt CBitmapScaler::UseLowMemoryAlgorithm( TBool aState )
55 return CustomCommand( KICLUidUseLowMemoryAlgorithmCommand, &aState);
64 an enumeration which sets the quality algorithm
68 inline TInt CBitmapScaler::SetQualityAlgorithm( TQualityAlgorithm aQualityLevel )
70 return CustomCommand( KICLUidSetQualityAlgorithmCommand, &aQualityLevel );
73 #endif // __BitmapTransforms_inl