DxLibEx
dxle::graph2d::animation_graph Class Referencefinal

#include <animation_graph.hpp>

Inheritance diagram for dxle::graph2d::animation_graph:
Collaboration diagram for dxle::graph2d::animation_graph:

Public Member Functions

 animation_graph () DXLE_NOEXCEPT=default
 
template<typename Cont >
 animation_graph (time::counter counter, Cont graphs)
 
template<size_t N>
 animation_graph (time::counter counter, const texture2d(&graphs)[N])
 
template<typename Cont >
 animation_graph (time::counter counter, Cont graphs, size_t size)
 
 animation_graph (const screen &other)=delete
 コピー禁止 More...
 
 animation_graph (animation_graph &&other) DXLE_NOEXCEPT_OR_NOTHROW
 所有権の譲渡 More...
 
animation_graphoperator= (const animation_graph &other)=delete
 コピー禁止 More...
 
animation_graphoperator= (animation_graph &&other) DXLE_NOEXCEPT_OR_NOTHROW
 所有権の譲渡 More...
 
std::unique_ptr< texture2dclone () const override
 画像を複製する More...
 
std::unique_ptr< animation_graphcloneAni () const
 画像を複製する More...
 
void start (void)
 
void stop (void)
 
bool is_stop (void)
 
void reset_pass_time (std::chrono::milliseconds=std::chrono::milliseconds{ 0 })
 
std::chrono::milliseconds get_pass_time ()
 
size_t get_count ()
 
void reset_count (size_t=0)
 
- Public Member Functions inherited from dxle::graph2d::texture2d
DXLE_CONSTEXPR texture2d () DXLE_NOEXCEPT_OR_NOTHROW
 
 texture2d (const texture2d &other)=delete
 コピー禁止 More...
 
texture2doperator= (const texture2d &other)=delete
 
 texture2d (texture2d &&other) DXLE_NOEXCEPT_OR_NOTHROW
 所有権の譲渡 More...
 
texture2doperator= (texture2d &&other) DXLE_NOEXCEPT_OR_NOTHROW
 
void delete_this (bool LogOutFlag=false)
 
sizei size () const DXLE_NOEXCEPT_OR_NOTHROW
 グラフィックのサイズを得る More...
 
virtual ~texture2d () DXLE_NOEXCEPT_OR_NOTHROW
 
 texture2d (const TCHAR *FileName, int TextureFlag, int ReverseFlag, int SurfaceMode=DX_MOVIESURFACE_NORMAL)
 
 texture2d (const TCHAR *FileName, bool NotUse3DFlag=false)
 
texture2d DerivationGraph (int SrcX, int SrcY, int Width, int Height) const
 
texture2d DerivationGraph (const pointi &src, const sizei &size) const
 指定のグラフィックの指定部分だけを抜き出して新たなグラフィックを作成する More...
 
int GraphLock (int *PitchBuf, void **DataPointBuf, DxLib::COLORDATA **ColorDataPP=nullptr, bool WriteOnly=false)
 グラフィックメモリ領域のロック More...
 
int GraphUnLock ()
 グラフィックメモリ領域のロック解除 More...
 
int SetDeviceLostDeleteGraphFlag (bool DeleteFlag)
 グラフィックスデバイスのデバイスロスト発生時に指定のグラフィックを削除するかどうかを設定する( TRUE:デバイスロスト時に削除する FALSE:デバイスロストが発生しても削除しない ) More...
 
int GetGraphSize (int *SizeXBuf, int *SizeYBuf) const
 グラフィックのサイズを得る More...
 
sizei GetGraphSize () const
 グラフィックのサイズを得る More...
 
int GetGraphTextureSize (int *SizeXBuf, int *SizeYBuf) const
 グラフィックが持つ一つ目のテクスチャのサイズを得る More...
 
sizei GetGraphTextureSize () const
 グラフィックが持つ一つ目のテクスチャのサイズを得る More...
 
int GetGraphMipmapCount () const
 グラフィックが持つテクスチャのミップマップレベル数を取得する More...
 
int GetGraphFilePath (TCHAR FilePathBuffer[]) const
 グラフィックが画像ファイルから読み込まれていた場合、その画像のファイルパスを取得する More...
 
tstring GetGraphFilePath () const
 グラフィックが画像ファイルから読み込まれていた場合、その画像のファイルパスを取得する More...
 
int DrawGraph (int x, int y, bool TransFlag) const
 画像の等倍描画 More...
 
int DrawGraph (const pointi &p, bool TransFlag) const
 画像の等倍描画 More...
 
int DrawExtendGraph (int x1, int y1, int x2, int y2, bool TransFlag) const
 画像の拡大描画 More...
 
int DrawExtendGraph (const pointi &lu, const pointi &rb, bool TransFlag) const
 画像の拡大描画 More...
 
int DrawRotaGraph (int x, int y, double ExRate, double Angle, bool TransFlag, bool TurnFlag=false) const
 画像の回転描画 More...
 
int DrawRotaGraph (const pointi &p, double ExRate, double Angle, bool TransFlag, bool TurnFlag=false) const
 画像の回転描画 More...
 
int DrawRotaGraph2 (int x, int y, int cx, int cy, double ExtRate, double Angle, bool TransFlag, bool TurnFlag=false) const
 画像の回転描画2( 回転中心指定付き ) More...
 
int DrawRotaGraph2 (const pointi &p, const pointi &c, double ExtRate, double Angle, bool TransFlag, bool TurnFlag=false) const
 画像の回転描画2( 回転中心指定付き ) More...
 
int DrawRotaGraph3 (int x, int y, int cx, int cy, double ExtRateX, double ExtRateY, double Angle, bool TransFlag, bool TurnFlag=FALSE) const
 画像の回転描画3( 回転中心指定付き+縦横拡大率別指定版 ) More...
 
int DrawRotaGraph3 (const pointi &p, const pointi &c, double ExtRateX, double ExtRateY, double Angle, bool TransFlag, bool TurnFlag=FALSE) const
 画像の回転描画3( 回転中心指定付き+縦横拡大率別指定版 ) More...
 
int DrawModiGraph (int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4, bool TransFlag) const
 画像の自由変形描画 More...
 
int DrawModiGraph (const std::array< pointi, 4 > &ps, bool TransFlag) const
 画像の自由変形描画 More...
 
int DrawTurnGraph (int x, int y, bool TransFlag) const
 画像の左右反転描画 More...
 
int DrawTurnGraph (const pointi &p, bool TransFlag) const
 画像の左右反転描画 More...
 
int DrawExtendTurnGraph (int x1, int y1, int x2, int y2, bool TransFlag) const
 画像の拡大左右反転描画 More...
 
int DrawExtendTurnGraph (const pointi &lu, const pointi &rb, bool TransFlag) const
 画像の拡大左右反転描画 More...
 
int DrawGraphF (float xf, float yf, bool TransFlag) const
 画像の描画( 座標指定が float 版 ) More...
 
int DrawGraphF (const pointf &p, bool TransFlag) const
 画像の描画( 座標指定が float 版 ) More...
 
int DrawExtendGraphF (float x1f, float y1f, float x2f, float y2, bool TransFlag) const
 画像の拡大描画( 座標指定が float 版 ) More...
 
int DrawExtendGraphF (const pointf &lu, const pointf &rb, bool TransFlag) const
 画像の拡大描画( 座標指定が float 版 ) More...
 
int DrawRotaGraphF (float xf, float yf, double ExRate, double Angle, bool TransFlag, bool TurnFlag=FALSE) const
 画像の回転描画( 座標指定が float 版 ) More...
 
int DrawRotaGraphF (const pointf &p, double ExRate, double Angle, bool TransFlag, bool TurnFlag=FALSE) const
 画像の回転描画( 座標指定が float 版 ) More...
 
int DrawRotaGraph2F (float xf, float yf, float cxf, float cyf, double ExtRate, double Angle, bool TransFlag, bool TurnFlag=FALSE) const
 画像の回転描画2( 回転中心指定付き )( 座標指定が float 版 ) More...
 
int DrawRotaGraph2F (const pointf &p, const pointf &c, double ExtRate, double Angle, bool TransFlag, bool TurnFlag=FALSE) const
 画像の回転描画2( 回転中心指定付き )( 座標指定が float 版 ) More...
 
int DrawRotaGraph3F (float xf, float yf, float cxf, float cyf, double ExtRateX, double ExtRateY, double Angle, bool TransFlag, bool TurnFlag=FALSE) const
 画像の回転描画3( 回転中心指定付き+縦横拡大率別指定版 )( 座標指定が float 版 ) More...
 
int DrawRotaGraph3F (const pointf &p, const pointf &c, double ExtRateX, double ExtRateY, double Angle, bool TransFlag, bool TurnFlag=FALSE) const
 画像の回転描画3( 回転中心指定付き+縦横拡大率別指定版 )( 座標指定が float 版 ) More...
 
int DrawModiGraphF (float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, bool TransFlag) const
 画像の自由変形描画( 座標指定が float 版 ) More...
 
int DrawModiGraphF (const std::array< pointf, 4 > &ps, bool TransFlag) const
 画像の自由変形描画( 座標指定が float 版 ) More...
 
int DrawTurnGraphF (float xf, float yf, bool TransFlag) const
 画像の左右反転描画( 座標指定が float 版 ) More...
 
int DrawTurnGraphF (const pointf &p, bool TransFlag) const
 画像の左右反転描画( 座標指定が float 版 ) More...
 
int DrawExtendTurnGraphF (float x1f, float y1f, float x2f, float y2f, bool TransFlag) const
 画像の拡大左右反転描画( 座標指定が float 版 ) More...
 
int DrawExtendTurnGraphF (const pointf &lu, const pointf &rb, bool TransFlag) const
 画像の拡大左右反転描画( 座標指定が float 版 ) More...
 
int filter_mono (int16_t Cb, int16_t Cr)
 
int filter_gaussian (uint16_t PixelWidth, int Param)
 
int filter_down_scale (uint8_t DivNum)
 
int filter_bright_clip (bright_clip_mode clipmode, uint8_t clip_pram, unsigned int fillcolor, uint8_t fillalpha)
 
int filter_HSB (bool HueType, int16_t Hue, int Saturation, int16_t Bright)
 
int filter_invert ()
 
int filter_level (uint8_t min, uint8_t max, int Gamma, uint8_t Aftermin, uint8_t Aftermax)
 
int filter_two_color (uint8_t threshold, unsigned int LowColor, uint8_t LowAlpha, unsigned int HighColor, uint8_t HighAlpha)
 

Additional Inherited Members

- Static Public Member Functions inherited from dxle::graph2d::texture2d
static texture2d MakeGraph (int SizeX, int SizeY, bool NotUse3DFlag=false)
 
static texture2d MakeGraph (const sizei &size, bool NotUse3DFlag=false)
 
static texture2d DerivationGraph (int SrcX, int SrcY, int Width, int Height, const texture2d &SrcGraphHandle)
 指定のグラフィックの指定部分だけを抜き出して新たなグラフィックを作成する More...
 
static texture2d DerivationGraph (const pointi &src, const sizei &size, const texture2d &SrcGraphHandle)
 指定のグラフィックの指定部分だけを抜き出して新たなグラフィックを作成する More...
 
static texture2d LoadBmpToGraph (const TCHAR *FileName, int TextureFlag, int ReverseFlag, int SurfaceMode=DX_MOVIESURFACE_NORMAL)
 
static texture2d LoadBmpToGraph (const dxle::tstring &FileName, int TextureFlag, int ReverseFlag, int SurfaceMode=DX_MOVIESURFACE_NORMAL)
 
static texture2d LoadGraph (const TCHAR *FileName, bool NotUse3DFlag=false)
 
static texture2d LoadGraph (const dxle::tstring &FileName, bool NotUse3DFlag=false)
 
static texture2d LoadReverseGraph (const TCHAR *FileName, bool NotUse3DFlag=false)
 
static texture2d LoadReverseGraph (const dxle::tstring &FileName, bool NotUse3DFlag=false)
 
static texture2d CreateGraphFromMem (const void *RGBFileImage, int RGBFileImageSize, const void *AlphaFileImage=nullptr, int AlphaFileImageSize=0, bool TextureFlag=true, bool ReverseFlag=false)
 
static int ReCreateGraphFromMem (const void *RGBFileImage, int RGBFileImageSize, texture2d &GrHandle, const void *AlphaFileImage=nullptr, int AlphaFileImageSize=0, bool TextureFlag=true, bool ReverseFlag=false)
 
static texture2d CreateDXGraph (const DxLib::BASEIMAGE *RgbBaseImage, const DxLib::BASEIMAGE *AlphaBaseImage, bool TextureFlag)
 
static texture2d CreateGraphFromGraphImage (const DxLib::BASEIMAGE *RgbBaseImage, bool TextureFlag=true, bool ReverseFlag=false)
 
static texture2d CreateGraphFromGraphImage (const DxLib::BASEIMAGE *RgbBaseImage, const DxLib::BASEIMAGE *AlphaBaseImage, bool TextureFlag=true, bool ReverseFlag=false)
 
static int ReCreateGraphFromGraphImage (const DxLib::BASEIMAGE *RgbBaseImage, texture2d &GrHandle, bool TextureFlag=true, bool ReverseFlag=false)
 
static int ReCreateGraphFromGraphImage (const DxLib::BASEIMAGE *RgbBaseImage, const DxLib::BASEIMAGE *AlphaBaseImage, texture2d &GrHandle, bool TextureFlag=true, bool ReverseFlag=false)
 
static texture2d CreateGraph (int Width, int Height, int Pitch, const void *RGBImage, const void *AlphaImage=nullptr, const texture2d &GrHandle=texture2d())
 
static texture2d CreateGraph (const sizei &size, int Pitch, const void *RGBImage, const void *AlphaImage=nullptr, const texture2d &GrHandle=texture2d())
 
static int ReCreateGraph (int Width, int Height, int Pitch, const void *RGBImage, texture2d &GrHandle, const void *AlphaImage=nullptr)
 
static int ReCreateGraph (const sizei &size, int Pitch, const void *RGBImage, texture2d &GrHandle, const void *AlphaImage=nullptr)
 
static texture2d CreateGraphFromBaseImage (const DxLib::BASEIMAGE *BaseImage)
 
static texture2d CreateGraphFromRectBaseImage (const DxLib::BASEIMAGE *BaseImage, int x, int y, int SizeX, int SizeY)
 
static texture2d CreateGraphFromRectBaseImage (const DxLib::BASEIMAGE *BaseImage, const pointi &pos, const sizei &size)
 基本イメージデータの指定の領域を使ってグラフィックを作成する More...
 
static int ReCreateGraphFromBaseImage (const DxLib::BASEIMAGE *BaseImage, texture2d &GrHandle)
 基本イメージデータから既存のグラフィックに画像データを転送する More...
 
static int ReCreateGraphFromRectBaseImage (const DxLib::BASEIMAGE *BaseImage, int x, int y, int SizeX, int SizeY, texture2d &GrHandle)
 基本イメージデータの指定の領域を使って既存のグラフィックに画像データを転送する More...
 
static int ReCreateGraphFromRectBaseImage (const DxLib::BASEIMAGE *BaseImage, const pointi &pos, const sizei &size, texture2d &GrHandle)
 基本イメージデータの指定の領域を使って既存のグラフィックに画像データを転送する More...
 
static int ReloadGraph (const TCHAR *FileName, texture2d &GrHandle, bool ReverseFlag=false)
 画像ファイルからグラフィックへ画像データを転送する More...
 
static int ReloadGraph (const dxle::tstring &FileName, texture2d &GrHandle, bool ReverseFlag=false)
 画像ファイルからグラフィックへ画像データを転送する More...
 
static int ReloadReverseGraph (const TCHAR *FileName, texture2d &GrHandle)
 ReloadGraph の画像反転処理追加版 More...
 
static int ReloadReverseGraph (const dxle::tstring &FileName, texture2d &GrHandle)
 ReloadGraph の画像反転処理追加版 More...
 
 for filter_bright_clip(texture2d and screen_c ) More...

Detailed Description

Definition at line 140 of file animation_graph.hpp.

Constructor & Destructor Documentation

§ animation_graph() [1/6]

dxle::graph2d::animation_graph::animation_graph ( )
default

§ animation_graph() [2/6]

template<typename Cont >
dxle::graph2d::animation_graph::animation_graph ( time::counter  counter,
Cont  graphs 
)
inline
Parameters
graphsアニメーションする画像(dxle::texture2dのコンテナ)
graphs要件:graphs[i]およびgraphs.size()が可能であるorそのようなgraphsへのstd::reference_wrapperであること

Definition at line 148 of file animation_graph.hpp.

§ animation_graph() [3/6]

template<size_t N>
dxle::graph2d::animation_graph::animation_graph ( time::counter  counter,
const texture2d(&)  graphs[N] 
)
inline
Parameters
graphsアニメーションする画像(dxle::texture2dのコンテナ)

Definition at line 153 of file animation_graph.hpp.

§ animation_graph() [4/6]

template<typename Cont >
dxle::graph2d::animation_graph::animation_graph ( time::counter  counter,
Cont  graphs,
size_t  size 
)
inline
Parameters
graphsアニメーションする画像(dxle::texture2dのコンテナ)
graphs要件:graphs[i]が可能であるorそのようなgraphsへのstd::reference_wrapperであること

Definition at line 159 of file animation_graph.hpp.

§ animation_graph() [5/6]

dxle::graph2d::animation_graph::animation_graph ( const screen other)
delete

コピー禁止

§ animation_graph() [6/6]

dxle::graph2d::animation_graph::animation_graph ( animation_graph &&  other)
inline

所有権の譲渡

Definition at line 166 of file animation_graph.hpp.

Member Function Documentation

§ clone()

std::unique_ptr<texture2d> dxle::graph2d::animation_graph::clone ( ) const
inlineoverridevirtual

画像を複製する

Reimplemented from dxle::graph2d::texture2d.

Definition at line 173 of file animation_graph.hpp.

§ cloneAni()

std::unique_ptr< animation_graph > dxle::graph2d::animation_graph::cloneAni ( ) const
inline

画像を複製する

Definition at line 193 of file animation_graph.hpp.

§ get_count()

size_t dxle::graph2d::animation_graph::get_count ( )
inline

Definition at line 227 of file animation_graph.hpp.

§ get_pass_time()

std::chrono::milliseconds dxle::graph2d::animation_graph::get_pass_time ( )
inline

Definition at line 223 of file animation_graph.hpp.

§ is_stop()

bool dxle::graph2d::animation_graph::is_stop ( void  )
inline

Definition at line 215 of file animation_graph.hpp.

§ operator=() [1/2]

animation_graph& dxle::graph2d::animation_graph::operator= ( const animation_graph other)
delete

コピー禁止

§ operator=() [2/2]

animation_graph& dxle::graph2d::animation_graph::operator= ( animation_graph &&  other)
inline

所有権の譲渡

Definition at line 170 of file animation_graph.hpp.

§ reset_count()

void dxle::graph2d::animation_graph::reset_count ( size_t  new_count = 0)
inline

Definition at line 231 of file animation_graph.hpp.

§ reset_pass_time()

void dxle::graph2d::animation_graph::reset_pass_time ( std::chrono::milliseconds  new_pass_time = std::chrono::milliseconds{ 0 })
inline

Definition at line 219 of file animation_graph.hpp.

§ start()

void dxle::graph2d::animation_graph::start ( void  )
inline

Definition at line 207 of file animation_graph.hpp.

§ stop()

void dxle::graph2d::animation_graph::stop ( void  )
inline

Definition at line 211 of file animation_graph.hpp.


The documentation for this class was generated from the following file: