epoc32/include/bitmaptransforms.inl
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     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".
     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