svgtopt/SVG/SVGImpl/inc/SVGTransformableImpl.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 __INC_CSVGTRANSFORMABLEIMPL__
       
    20 #define __INC_CSVGTRANSFORMABLEIMPL__
       
    21 
       
    22 #include "SVGTransformable.h"
       
    23 #include "SVGTransformListImpl.h"
       
    24 
       
    25 class TGfxAffineTransform;
       
    26 
       
    27 
       
    28 /**
       
    29  * Class description goes here.
       
    30  *
       
    31  *  @lib SVGEngine.lib
       
    32  *  @since 1.0
       
    33  */
       
    34 class CSvgTransformableImpl : public CBase, public MSvgTransformable
       
    35     {
       
    36     public:
       
    37 
       
    38         // Constructor/deconstructor
       
    39 
       
    40 
       
    41         /**
       
    42          * Need method description
       
    43          *
       
    44          * @since 1.0
       
    45          * @param 
       
    46          * @return
       
    47          */
       
    48         static CSvgTransformableImpl*   NewL();
       
    49 
       
    50 
       
    51         /**
       
    52          * Need method description
       
    53          *
       
    54          * @since 1.0
       
    55          * @param 
       
    56          * @return
       
    57          */
       
    58         static CSvgTransformableImpl*   NewLC();
       
    59 
       
    60 
       
    61         /**
       
    62          * Need method description
       
    63          *
       
    64          * @since 1.0
       
    65          * @param 
       
    66          * @return
       
    67          */
       
    68         virtual                         ~CSvgTransformableImpl();
       
    69 
       
    70         // From MSvgTransformable
       
    71 
       
    72 
       
    73         /**
       
    74          * Need method description
       
    75          *
       
    76          * @since 1.0
       
    77          * @param 
       
    78          * @return
       
    79          */
       
    80         void                            GetTransform( MSvgTransformList*& aTransformList );
       
    81 
       
    82 
       
    83         /**
       
    84          * Need method description
       
    85          *
       
    86          * @since 1.0
       
    87          * @param 
       
    88          * @return
       
    89          */
       
    90         void                            SetTransform( MSvgTransformList*& aTransformList );
       
    91 
       
    92 
       
    93 		void                            SetTransformList(TGfxAffineTransform& aTr);
       
    94 
       
    95         // From MSvgLocatable
       
    96 
       
    97 
       
    98         /**
       
    99          * Need method description
       
   100          *
       
   101          * @since 1.0
       
   102          * @param 
       
   103          * @return
       
   104          */
       
   105         const TGfxAffineTransform&             GetCTM();
       
   106 
       
   107 
       
   108         /**
       
   109          * Need method description
       
   110          *
       
   111          * @since 1.0
       
   112          * @param 
       
   113          * @return
       
   114          */
       
   115         void                            SetCTM( TGfxAffineTransform& aTr );
       
   116 
       
   117 
       
   118         /**
       
   119          * Need method description
       
   120          *
       
   121          * @since 1.0
       
   122          * @param 
       
   123          * @return
       
   124          */
       
   125         void GetBBox( TGfxRectangle2D& /*aBbox*/ )
       
   126             {
       
   127             }
       
   128 
       
   129     private:
       
   130 
       
   131         TGfxAffineTransform     iCTM;
       
   132 
       
   133         CSvgTransformListImpl*  iTransform;
       
   134 
       
   135 
       
   136         /**
       
   137          * Need method description
       
   138          *
       
   139          * @since 1.0
       
   140          * @param 
       
   141          * @return
       
   142          */
       
   143         void                    ConstructL();
       
   144 
       
   145 
       
   146         /**
       
   147          * Need method description
       
   148          *
       
   149          * @since 1.0
       
   150          * @param 
       
   151          * @return
       
   152          */
       
   153                                 CSvgTransformableImpl();
       
   154     public:
       
   155 
       
   156         /**
       
   157          * Need method description
       
   158          *
       
   159          * @since 1.0
       
   160          * @param 
       
   161          * @return
       
   162          */
       
   163         CSvgTransformableImpl* CloneL();
       
   164 
       
   165     };
       
   166 
       
   167 #endif /* __INC_MSVGTRANSFORMABLE__ */