photosgallery/slideshow/engine/effectsrc/shwcurvefactory.h
changeset 0 4e91876724a2
equal deleted inserted replaced
-1:000000000000 0:4e91876724a2
       
     1 /*
       
     2 * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:    Zoom and pan effect curve factory
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 // Include Files
       
    22 #include <e32std.h>
       
    23 #include <alf/alfcurvepath.h>
       
    24 
       
    25 #ifndef __SHWCURVEFACTORY_H__
       
    26 #define __SHWCURVEFACTORY_H__
       
    27 
       
    28 // Forward declares
       
    29 class CAlfCurvePath;
       
    30 
       
    31 /**
       
    32  * NShwCurveFactory.
       
    33  * Grouping of the slideshow curve creation.
       
    34  * This is in a namespace to not pollute global namespace and not 
       
    35  * a class as its just a "c-style" function, so no benefit of being a class.
       
    36  * @internal reviewed 06/06/2007 by Dan Rhodes
       
    37  */
       
    38 namespace NShwCurveFactory
       
    39 	{
       
    40 	/**
       
    41 	 * @param aSize the width and height of the ellipsis
       
    42 	 * @param aLenght the length of the ellipsis
       
    43 	 * @return the HUI curvepath that defines the ellipsis
       
    44 	 */
       
    45 	CAlfCurvePath* CreateEllipsisL( TSize aSize, TInt aLength );
       
    46 	}
       
    47 
       
    48 #endif // __SHWCURVEFACTORY_H__