SDXFrameWork 0.09 SDXFrameWork

- Main Page
- Related Pages
- Classes

- Class List
- Class Hierarchy
- Class Members

All Classes Namespaces Functions Variables Enumerations Enumerator Pages
Public Member Functions | List of all members
SDX::IFrame Class Referenceabstract

描画用枠のインターフェース. More...

`#include <BmpFrame.h>`

Inherited by SDX::BmpFrame.

## Public Member Functions
virtual void | Draw (const Rect &領域) const =0

## Detailed Description

描画用枠のインターフェース.

//©SDXFramework http://sourceforge.jp/projects/dxframework/
//🍣初期化を行い何かキーを押すと終了する
bool SampleBmpFrame()
{
using namespace SDX;
System::Initialise("sample", 600, 400);
//BmpFrame用の画像を読み込む
ImagePack frameImage("image.bmp",9,3,3);
//BmpFrameを作成
BmpFrame bmpFrame;
bmpFrame.Make(&frameImage);
while (System::Update())
{
bmpFrame.Draw({ 10, 10, 500, 300 });
if (Input::key.Return.on) break;//Enterで終了
}
System::End();
return true;
}