SDXFrameWork  0.13
SDXFrameWork
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
Movie.h
1 //Copyright © 2014 SDXFramework
2 //[License]GNU Affero General Public License, version 3
3 //[Contact]http://sourceforge.jp/projects/dxframework/
4 #pragma once
5 #include <Multimedia/SDX.h>
6 #include <Multimedia/Image.h>
7 
8 namespace SDX
9 {
13  class Movie
14  {
15  private:
16  Movie(const Movie &movie);
17  Movie& operator =(const Movie &movie);
18 
19  int handle = 0;
20  bool isTrans = false;
21  int width;
22  int height;
23  public:
24  Movie(){}
25 
27  Movie(const char *ファイル名)
28  {
29  Load(ファイル名);
30  }
31 
34  bool Load(const char *ファイル名)
35  {
36  return false;
37  }
38 
41  bool Release()
42  {
43  return false;
44  }
45 
47  int GetHandle()
48  {
49  return this->handle;
50  }
51 
53  bool Play()
54  {
55  return false;
56  }
57 
59  bool Pause()
60  {
61  return false;
62  }
63 
65  int Seek(int 再生位置)
66  {
67  return false;
68  }
69 
71  int Tell()
72  {
73  return false;
74  }
75 
77  bool Check()
78  {
79  return false;
80  }
81 
83  bool Draw(const Point &座標, bool 反転フラグ = false)
84  {
85  return false;
86  }
87 
89  bool DrawExtend(const Rect &領域)
90  {
91  return false;
92  }
93 
95  bool DrawRotate(const Point &座標, double 拡大率, double 角度, bool 反転フラグ = false)
96  {
97  return false;
98  }
99 
101  bool DrawRotateAxis(const Point &座標, int X軸, int Y軸, double 拡大率, double 角度, bool 反転フラグ = false)
102  {
103  return false;
104  }
105 
107  bool DrawModify(const Point &頂点A, const Point &頂点B, const Point &頂点C, const Point &頂点D) const
108  {
109  return false;
110  }
111 
113  bool DrawPart(const Point &描画座標, const Rect &元領域, bool 反転フラグ)
114  {
115  return false;
116  }
117 
119  int GetWidth()
120  {
121  return width;
122  }
123 
125  int GetHeight()
126  {
127  return height;
128  }
129  };
130 }
矩形を表す図形クラス.
Definition: Rect.h:22
bool DrawRotateAxis(const Point &座標, int X軸, int Y軸, double 拡大率, double 角度, bool 反転フラグ=false)
角度、拡大率を指定して描画.
Definition: Movie.h:101
bool Release()
ファイルの開放.
Definition: Movie.h:41
bool Check()
動画が再生中か取得.
Definition: Movie.h:77
点を表す図形クラス.
Definition: Point.h:22
bool Pause()
動画の停止.
Definition: Movie.h:59
int GetWidth()
幅を取得.
Definition: Movie.h:119
bool DrawModify(const Point &頂点A, const Point &頂点B, const Point &頂点C, const Point &頂点D) const
四角形に変形描画.
Definition: Movie.h:107
int GetHeight()
高さを取得.
Definition: Movie.h:125
bool DrawRotate(const Point &座標, double 拡大率, double 角度, bool 反転フラグ=false)
角度、拡大率を指定して描画.
Definition: Movie.h:95
bool DrawPart(const Point &描画座標, const Rect &元領域, bool 反転フラグ)
一部を指定して描画.
Definition: Movie.h:113
Movie(const char *ファイル名)
ファイルの読込.
Definition: Movie.h:27
int Tell()
動画の再生位置を取得.
Definition: Movie.h:71
bool Draw(const Point &座標, bool 反転フラグ=false)
指定座標に描画.
Definition: Movie.h:83
bool DrawExtend(const Rect &領域)
指定矩形内に描画.
Definition: Movie.h:89
bool Load(const char *ファイル名)
ファイルの読込.
Definition: Movie.h:34
int Seek(int 再生位置)
動画の再生位置を設定.
Definition: Movie.h:65
int GetHandle()
ハンドルの取得.
Definition: Movie.h:47
動画を表すクラス[未実装].
Definition: Movie.h:13
bool Play()
動画の再生.
Definition: Movie.h:53