Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

jDDraw Class Reference

#include <jAPIdirectx.h>

List of all members.

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


Constructor & Destructor Documentation

jDDraw::jDDraw  ) 
 

jDDraw::jDDraw void *  handle,
int  width,
int  height,
int  color
 

jDDraw::~jDDraw  ) 
 


Member Function Documentation

bool __fastcall jDDraw::clear RECT *  rect = NULL  ) 
 

bool __fastcall jDDraw::createSurface LPDIRECTDRAWSURFACE *  _surf,
DWORD  _type,
int  _width,
int  _height,
DWORD  flags,
int  nbBackBuffers = 0
 

bool __fastcall jDDraw::draw int  posX,
int  posY,
LPDIRECTDRAWSURFACE  src,
RECT *  rc,
int  mode,
bool  wait = false
 

bool __fastcall jDDraw::drawLine LPDIRECTDRAWSURFACE  src,
int  debX,
int  debY,
int  endX,
int  endY,
int  bkColor,
int  ftColor,
int  width
 

bool __fastcall jDDraw::drawRect CONST RECT *  lprc,
int  color
 

bool __fastcall jDDraw::fill LPDIRECTDRAWSURFACE  src = NULL,
RECT *  rect = NULL,
int  color = RGB(0, 0, 0)
 

LPDIRECTDRAW __fastcall jDDraw::getDrawingContext  )  [inline]
 

bool __fastcall jDDraw::initialize void *  _handle,
int  width,
int  height,
int  color,
int  mode = DDSCL_EXCLUSIVE|DDSCL_FULLSCREEN,
char *  palette = NULL
 

LPDIRECTDRAWSURFACE __fastcall jDDraw::loadSurface LPCTSTR  _fileName,
RECT *  _rect
 

bool __fastcall jDDraw::release  ) 
 

bool __fastcall jDDraw::setDisplay int  width,
int  height,
int  color
 

bool __fastcall jDDraw::show  ) 
 

bool __fastcall jDDraw::textOut int  posX,
int  posY,
AnsiString  message,
int  bkColor,
int  txtColor,
int  mode = TRANSPARENT
 


Member Data Documentation

int jDDraw::height
 

int jDDraw::width
 


The documentation for this class was generated from the following files:
Generated on Sat Nov 15 10:52:36 2003 for JAPI by doxygen 1.3.4