uigraphics/NVGRenderStage/src/vgigraphicsinterface.h
changeset 102 556a54d643b8
equal deleted inserted replaced
101:4129cc017eb5 102:556a54d643b8
       
     1 /*
       
     2 * Copyright (c) 2002 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:   CVGIGraphicsInterface class.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef VGIGRAPHICSINTERFACE_H
       
    19 #define VGIGRAPHICSINTERFACE_H
       
    20 
       
    21 #include <e32base.h>
       
    22 #include <e32std.h>
       
    23 #include <fbs.h>
       
    24 #include "MVGImageBinder.h"
       
    25 
       
    26 NONSHARABLE_CLASS (CVGIGraphicsInterface) : public CBase, public MVGImageBinder
       
    27     {
       
    28 public:
       
    29     CVGIGraphicsInterface();
       
    30     ~CVGIGraphicsInterface();
       
    31 public:
       
    32     void InitializeL(const TSize aSurfaceSize);
       
    33     void CopyBitmapL(CFbsBitmap* aPixMap, CFbsBitmap* aMask);
       
    34 public:
       
    35     TInt BindClientBuffer(TUint aBuffer);
       
    36     TInt UnBindClientBuffer();
       
    37 private:
       
    38     void Terminate();
       
    39     };
       
    40 
       
    41 #endif