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