#include <drawSurface.h>


Public Member Functions | |
| DrawSurface (const char *bmpFile, bool transparent=false) | |
| サーフェス指定のコンストラクタ | |
| DrawSurface (SDL_Surface *sdlSurface, bool transparent=false) | |
| SDLサーフェス指定のコンストラクタ. | |
| bool | draw (const VXV::Rect &size, const VXV::Grid &pos, unsigned long ticks) |
| サーフェスの描画 | |
| void | load (const char *bmpFile, bool transparent=false) |
| サーフェスの読み込み | |
| void | load (SDL_Surface *sdlSurface, bool transparent=false) |
| サーフェスの読み込み | |
Definition at line 20 of file drawSurface.h.
| DrawSurface::DrawSurface | ( | const char * | bmpFile, | |
| bool | transparent = false | |||
| ) |
サーフェス指定のコンストラクタ
| bmpFile | [i] ビットマップファイル | |
| transparent | [i] 透過処理を施す場合に true |
Definition at line 14 of file drawSurface.cpp.
References load().
| DrawSurface::DrawSurface | ( | SDL_Surface * | sdlSurface, | |
| bool | transparent = false | |||
| ) |
SDLサーフェス指定のコンストラクタ.
| sdlSurface | [i] SDLサーフェス | |
| transparent | [i] 透過処理を施す場合に true |
Definition at line 19 of file drawSurface.cpp.
References load().
| bool DrawSurface::draw | ( | const VXV::Rect & | size, | |
| const VXV::Grid & | pos, | |||
| unsigned long | ticks | |||
| ) | [virtual] |
サーフェスの描画
指定場所に指定領域のサーフェスを描画する
| size | [i] サーフェスの描画領域を指定 | |
| pos | [i] スクリーンに対するサーフェスの描画位置を指定 | |
| ticks | [i] 時刻印 [msec]を渡す。ただし、これ以外の情報を渡してもよい |
| true | 正常 | |
| false | サーフェスが無効 |
Implements SurfaceInterface.
Definition at line 31 of file drawSurface.cpp.
References SDL_Video::blitSurface().
Referenced by AnimationSurface::draw().
| void DrawSurface::load | ( | const char * | bmpFile, | |
| bool | transparent = false | |||
| ) |
サーフェスの読み込み
| bmpFile | [i] ビットマップファイル | |
| transparent | [i] 透過処理を施す場合に true |
Definition at line 66 of file drawSurface.cpp.
Referenced by DrawSurface().
| void DrawSurface::load | ( | SDL_Surface * | sdlSurface, | |
| bool | transparent = false | |||
| ) |
サーフェスの読み込み
| sdlSurface | [i] SDLサーフェス | |
| transparent | [i] 透過処理を施す場合に true |
Definition at line 78 of file drawSurface.cpp.
1.5.7.1