diff -r 9be6eed35a80 -r db5c883ad1c5 svgt_plat/svgt_api/inc/svgtbitmap.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/svgt_plat/svgt_api/inc/svgtbitmap.h Tue Aug 31 16:06:58 2010 +0300 @@ -0,0 +1,60 @@ +/* + * Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies). + * All rights reserved. + * This component and the accompanying materials are made available + * under the terms of "Eclipse Public License v1.0" + * which accompanies this distribution, and is available + * at the URL "http://www.eclipse.org/legal/epl-v10.html". + * + * Initial Contributors: + * Nokia Corporation - initial contribution. + * + * Contributors: + * + * Description: SVGTbitmap header file + * +*/ + +#ifndef SVGTBITMAP_H_ +#define SVGTBITMAP_H_ + +#include +#include + +class CSvgtBitmap : public CBase + { +public: // constructors + inline CSvgtBitmap( TInt8* aBitmapBuffer, TSize aBitmapSize, + TDisplayMode aDisplayMode, TInt aStride); + +public: //class methods + /* + * returns target image buffer + */ + inline TInt8* BitmapBuffer() const; + + /* + * returns target image size in pixels + */ + inline TSize SizeInPixels() const; + + /* + * returns target image display mode + */ + inline TDisplayMode DisplayMode() const; + + /* + * returns target image bytes per scanline + */ + inline TInt Stride() const; + +private: + TInt8* iBitmapBuffer; + TSize iBitmapSize; + TDisplayMode iDisplayMode; + TInt iStride; + }; + +#include + +#endif /* SVGTBITMAP_H_ */