殺虫侍
読み取り中…
検索中…
一致する文字列を見つけられません
game_image.h
[詳解]
1
7#pragma once
8#include <string>
9#include <d2d1_1.h>
10
15{
16 ID2D1Bitmap* pBmp;
17 float x;
18 float y;
19 float w;
20 float h;
21 bool visible = true;
22
31 GameImage(ID2D1Bitmap* b, float px, float py, float pw, float ph)
32 : pBmp(b), x(px), y(py), w(pw), h(ph) {
33 }
34};
float y
描画 Y 座標(スクリーン空間)
Definition game_image.h:18
float x
描画 X 座標(スクリーン空間)
Definition game_image.h:17
GameImage(ID2D1Bitmap *b, float px, float py, float pw, float ph)
全パラメータを指定するコンストラクタ
Definition game_image.h:31
float h
描画高さ
Definition game_image.h:20
ID2D1Bitmap * pBmp
描画するビットマップ
Definition game_image.h:16
float w
描画幅
Definition game_image.h:19
bool visible
表示フラグ
Definition game_image.h:21