SDXFrameWork  0.07
SDXFrameWork
 全て クラス ネームスペース 関数 変数 列挙型 列挙型の値 ページ
Movie.h
1 #pragma once//☀SDL
2 #include <Multimedia/SDX.h>
3 #include <Multimedia/Image.h>
4 
5 namespace SDX
6 {
9 class Movie
10 {
11 private:
12  std::string fileName;
13 public:
14 
16  Movie(const char *ファイル名)
17  {
18  this->fileName = ファイル名;
19  }
20 
23  bool Load(const char *ファイル名)
24  {
25  this->fileName = ファイル名;
26  return true;
27  }
28 
32  void Play(int 拡大率 , bool 途中キャンセルフラグ)
33  {
34  }
35 };
36 
40 {
41 private:
42  int handle;
43  bool isTrans;
44  MovieImage(const MovieImage &movie);
45  MovieImage& operator =(const MovieImage &movie);
46  int width;
47  int height;
48 public:
49  MovieImage():
50  isTrans(false)
51  {}
52 
54  MovieImage(const char *ファイル名)
55  {
56  Load(ファイル名);
57  }
58 
61  bool Load(const char *ファイル名)
62  {
63  return false;
64  }
65 
68  bool Release()
69  {
70  return false;
71  }
72 
74  int GetHandle()
75  {
76  return this->handle;
77  }
78 
80  bool Play()
81  {
82  return false;
83  }
84 
86  bool Pause()
87  {
88  return false;
89  }
90 
92  int Seek(int 再生位置)
93  {
94  return false;
95  }
96 
98  int Tell()
99  {
100  return false;
101  }
102 
104  bool Check()
105  {
106  return false;
107  }
108 
110  bool Draw(int X座標,int Y座標 , bool 反転フラグ = false)
111  {
112  return false;
113  }
114 
116  bool DrawExtend(int X座標A, int Y座標A, int X座標B, int Y座標B)
117  {
118  return false;
119  }
120 
122  bool DrawRotate(int X座標, int Y座標, double 拡大率, double 角度, bool 反転フラグ = false)
123  {
124  return false;
125  }
126 
128  bool DrawRotateAxis(int X座標, int Y座標, int X軸, int Y軸, double 拡大率, double 角度, bool 反転フラグ = false)
129  {
130  return false;
131  }
132 
134  bool DrawModify(int X頂点A, int Y頂点A, int X頂点B, int Y頂点B, int X頂点C, int Y頂点C, int X頂点D, int Y頂点D) const
135  {
136  return false;
137  }
138 
140  bool DrawPart(int destX,int destY,int srcX, int srcY, int width, int height, bool isTurn)
141  {
142  return false;
143  }
144 
146  int GetWidth()
147  {
148  return width;
149  }
150 
152  int GetHeight()
153  {
154  return height;
155  }
156 
157 };
158 }
bool DrawExtend(int X座標A, int Y座標A, int X座標B, int Y座標B)
指定矩形内に描画.
Definition: Movie.h:116
bool DrawRotate(int X座標, int Y座標, double 拡大率, double 角度, bool 反転フラグ=false)
角度、拡大率を指定して描画.
Definition: Movie.h:122
int GetHeight()
高さを取得.
Definition: Movie.h:152
Imageクラスの動画版[DXLIB].
Definition: Movie.h:39
bool DrawRotateAxis(int X座標, int Y座標, int X軸, int Y軸, double 拡大率, double 角度, bool 反転フラグ=false)
角度、拡大率を指定して描画.
Definition: Movie.h:128
void Play(int 拡大率, bool 途中キャンセルフラグ)
動画を再生.
Definition: Movie.h:32
bool Check()
動画が再生中か取得.
Definition: Movie.h:104
bool DrawPart(int destX, int destY, int srcX, int srcY, int width, int height, bool isTurn)
一部を指定して描画.
Definition: Movie.h:140
bool Draw(int X座標, int Y座標, bool 反転フラグ=false)
指定座標に描画.
Definition: Movie.h:110
bool Load(const char *ファイル名)
ファイルの読込.
Definition: Movie.h:61
int GetWidth()
幅を取得.
Definition: Movie.h:146
bool Release()
ファイルの開放.
Definition: Movie.h:68
int Seek(int 再生位置)
動画の再生位置を設定.
Definition: Movie.h:92
int Tell()
動画の再生位置を取得.
Definition: Movie.h:98
Movie(const char *ファイル名)
動画ファイルの登録.
Definition: Movie.h:16
MovieImage(const char *ファイル名)
ファイルの読込.
Definition: Movie.h:54
int GetHandle()
ハンドルの取得.
Definition: Movie.h:74
bool Load(const char *ファイル名)
動画ファイルの登録.
Definition: Movie.h:23
bool Pause()
動画の停止.
Definition: Movie.h:86
bool Play()
動画の再生.
Definition: Movie.h:80
動画を表すクラス[DXLIB].
Definition: Movie.h:9
bool DrawModify(int X頂点A, int Y頂点A, int X頂点B, int Y頂点B, int X頂点C, int Y頂点C, int X頂点D, int Y頂点D) const
四角形に変形描画.
Definition: Movie.h:134