|
Public Member Functions |
bool __fastcall | createSurface (LPDIRECTDRAWSURFACE *_surf, DWORD _type, int _width, int _height, DWORD flags, int nbBackBuffers=0) |
bool __fastcall | initialize (void *_handle, int width, int height, int color, int mode=DDSCL_EXCLUSIVE|DDSCL_FULLSCREEN, char *palette=NULL) |
bool __fastcall | release () |
bool __fastcall | setDisplay (int width, int height, int color) |
LPDIRECTDRAW __fastcall | getDrawingContext () |
LPDIRECTDRAWSURFACE __fastcall | loadSurface (LPCTSTR _fileName, RECT *_rect) |
bool __fastcall | textOut (int posX, int posY, AnsiString message, int bkColor, int txtColor, int mode=TRANSPARENT) |
bool __fastcall | drawLine (LPDIRECTDRAWSURFACE src, int debX, int debY, int endX, int endY, int bkColor, int ftColor, int width) |
bool __fastcall | fill (LPDIRECTDRAWSURFACE src=NULL, RECT *rect=NULL, int color=RGB(0, 0, 0)) |
bool __fastcall | drawRect (CONST RECT *lprc, int color) |
bool __fastcall | clear (RECT *rect=NULL) |
bool __fastcall | show () |
bool __fastcall | draw (int posX, int posY, LPDIRECTDRAWSURFACE src, RECT *rc, int mode, bool wait=false) |
| jDDraw () |
| jDDraw (void *handle, int width, int height, int color) |
| ~jDDraw () |
Public Attributes |
int | width |
int | height |