epoc32/include/bitmaptransforms.inl
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
     1 bitmaptransforms.inl
     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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __BitmapTransforms_inl
       
    17 #define __BitmapTransforms_inl
       
    18 
       
    19 #include <bitmaptransforms.h>
       
    20 
       
    21 const TUid KICLUidPostProcessCommand = { 0x101F7C18 };
       
    22 const TUid KICLUidUseLowMemoryAlgorithmCommand = { 0x101F7C42 };
       
    23 const TUid KICLUidSetQualityAlgorithmCommand = { 0x101F7C4C }; 
       
    24 
       
    25 
       
    26 /**
       
    27 @publishedAll
       
    28 
       
    29 SetPostProcessing
       
    30 
       
    31 @param 	aState
       
    32 		a boolean flag which if true will set post processing on
       
    33 		(Note by defualt the scaler has post processing on)
       
    34 
       
    35 @released
       
    36 */
       
    37 inline TInt CBitmapScaler::DisablePostProcessing( TBool aState )
       
    38 	{
       
    39 	return CustomCommand( KICLUidPostProcessCommand,&aState);
       
    40 	}
       
    41 
       
    42 /**
       
    43 @publishedAll
       
    44 
       
    45 UseLowMemory
       
    46 
       
    47 @param 	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)
       
    50 
       
    51 @released
       
    52 */
       
    53 inline TInt CBitmapScaler::UseLowMemoryAlgorithm( TBool aState )
       
    54 	{
       
    55 	return CustomCommand( KICLUidUseLowMemoryAlgorithmCommand, &aState);
       
    56 	}
       
    57 
       
    58 /**
       
    59 @publishedAll
       
    60 
       
    61 SetQualityAlgorithm
       
    62 
       
    63 @param 	aQualityLevel
       
    64 		an enumeration which sets the quality algorithm
       
    65 
       
    66 @released
       
    67 */
       
    68 inline TInt CBitmapScaler::SetQualityAlgorithm( TQualityAlgorithm aQualityLevel )
       
    69 	{
       
    70 	return CustomCommand( KICLUidSetQualityAlgorithmCommand, &aQualityLevel );
       
    71 	}
       
    72 
       
    73 #endif // __BitmapTransforms_inl