bitmaptile.h

来自「symbian系统上的2D图形游戏」· C头文件 代码 · 共 38 行

H
38
字号
////////////////////////////////////////////////////////////////////////
//
// BitmapTile.h
//
// Copyright (c) 2003 Nokia Mobile Phones Ltd.  All rights reserved.
//
////////////////////////////////////////////////////////////////////////

#ifndef __BITMAPTILE_H
#define __BITMAPTILE_H

#include "RenderableFactory.h"

////////////////////////////////////////////////////////////////////////

class CBitmapTile : public CRenderable
	{
public:
	static CBitmapTile* NewL(CFbsBitmap& aImage);
	~CBitmapTile();

public:   
	void Render(const TPoint& aOrigin,const TRect& aScreenRect,CFbsBitGc* aCallerGc) const;

private:
    void ConstructL(CFbsBitmap& aImage);

private:
	CFbsBitmap* iImage;
	TRect iRect;
	TSize iSize;
	};

////////////////////////////////////////////////////////////////////////

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?