svgtopt/SVG/SVGImpl/inc/SVGPathDataParser.h
changeset 46 88edb906c587
equal deleted inserted replaced
-1:000000000000 46:88edb906c587
       
     1 /*
       
     2 * Copyright (c) 2003 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:  SVG Implementation header file
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __TSVGPATHDATAPARSER_H__
       
    20 #define __TSVGPATHDATAPARSER_H__
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 #include "GfxFloatFixPt.h"
       
    25 #include "GfxGeneralPath.h"
       
    26 
       
    27 
       
    28 
       
    29 /**
       
    30  * Class description goes here.
       
    31  *
       
    32  *  @lib SVGEngine.lib
       
    33  *  @since 1.0
       
    34  */
       
    35 class TSvgPathDataParser
       
    36     {
       
    37     public:
       
    38 
       
    39         /**
       
    40          * Need method description
       
    41          *
       
    42          * @since 1.0
       
    43          * @param
       
    44          * @return
       
    45          */
       
    46         static void   ParsePathData( const TDesC& aData,
       
    47                                        CGfxGeneralPath* aPath );
       
    48 
       
    49         /**
       
    50          * Need method description
       
    51          *
       
    52          * @since 1.0
       
    53          * @param
       
    54          * @return
       
    55          */
       
    56         static void   ParsePointDataL( const TDesC& aData,
       
    57                                         CGfxGeneralPath* aPath );
       
    58 
       
    59         /**
       
    60          * Need method description
       
    61          *
       
    62          * @since 1.0
       
    63          * @param
       
    64          * @return
       
    65          */
       
    66         static TFloatFixPt   PathLengthL( CGfxGeneralPath* aPath );
       
    67 
       
    68     private:
       
    69         /**
       
    70          * Leavable ParsePathData method.
       
    71          *
       
    72          * @since 1.0
       
    73          * @param
       
    74          * @return
       
    75          */
       
    76 		
       
    77 		static void   ParsePathDataL( const TDesC& aData,
       
    78                                         CGfxGeneralPath* aPath );
       
    79 	
       
    80 
       
    81     };
       
    82 
       
    83 
       
    84 #endif /* __TSvgPathDataParser_H__ */