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.
williamr@2
     1
// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
williamr@2
     2
// All rights reserved.
williamr@2
     3
// This component and the accompanying materials are made available
williamr@4
     4
// under the terms of "Eclipse Public License v1.0"
williamr@2
     5
// which accompanies this distribution, and is available
williamr@4
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
williamr@2
     7
//
williamr@2
     8
// Initial Contributors:
williamr@2
     9
// Nokia Corporation - initial contribution.
williamr@2
    10
//
williamr@2
    11
// Contributors:
williamr@2
    12
//
williamr@2
    13
// Description:
williamr@2
    14
//
williamr@2
    15
williamr@2
    16
#ifndef __BitmapTransforms_inl
williamr@2
    17
#define __BitmapTransforms_inl
williamr@2
    18
williamr@2
    19
#include <bitmaptransforms.h>
williamr@2
    20
williamr@2
    21
const TUid KICLUidPostProcessCommand = { 0x101F7C18 };
williamr@2
    22
const TUid KICLUidUseLowMemoryAlgorithmCommand = { 0x101F7C42 };
williamr@2
    23
const TUid KICLUidSetQualityAlgorithmCommand = { 0x101F7C4C }; 
williamr@2
    24
williamr@2
    25
williamr@2
    26
/**
williamr@2
    27
@publishedAll
williamr@2
    28
williamr@2
    29
SetPostProcessing
williamr@2
    30
williamr@2
    31
@param 	aState
williamr@2
    32
		a boolean flag which if true will set post processing on
williamr@2
    33
		(Note by defualt the scaler has post processing on)
williamr@2
    34
williamr@2
    35
@released
williamr@2
    36
*/
williamr@2
    37
inline TInt CBitmapScaler::DisablePostProcessing( TBool aState )
williamr@2
    38
	{
williamr@2
    39
	return CustomCommand( KICLUidPostProcessCommand,&aState);
williamr@2
    40
	}
williamr@2
    41
williamr@2
    42
/**
williamr@2
    43
@publishedAll
williamr@2
    44
williamr@2
    45
UseLowMemory
williamr@2
    46
williamr@2
    47
@param 	aState
williamr@2
    48
		a boolean flag which if true will enable the low memory algorithm
williamr@2
    49
		(Note by defualt the scaler does not use the low memory algorithm)
williamr@2
    50
williamr@2
    51
@released
williamr@2
    52
*/
williamr@2
    53
inline TInt CBitmapScaler::UseLowMemoryAlgorithm( TBool aState )
williamr@2
    54
	{
williamr@2
    55
	return CustomCommand( KICLUidUseLowMemoryAlgorithmCommand, &aState);
williamr@2
    56
	}
williamr@2
    57
williamr@2
    58
/**
williamr@2
    59
@publishedAll
williamr@2
    60
williamr@2
    61
SetQualityAlgorithm
williamr@2
    62
williamr@2
    63
@param 	aQualityLevel
williamr@2
    64
		an enumeration which sets the quality algorithm
williamr@2
    65
williamr@2
    66
@released
williamr@2
    67
*/
williamr@2
    68
inline TInt CBitmapScaler::SetQualityAlgorithm( TQualityAlgorithm aQualityLevel )
williamr@2
    69
	{
williamr@2
    70
	return CustomCommand( KICLUidSetQualityAlgorithmCommand, &aQualityLevel );
williamr@2
    71
	}
williamr@2
    72
williamr@2
    73
#endif // __BitmapTransforms_inl