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

jDsprite Class Reference

#include <jAPIdirectx.h>

List of all members.

Public Member Functions

 jDsprite (jDDraw *_lpDD)
 jDsprite (jDDraw *_lpDD, LPCTSTR _fileName)
 ~jDsprite ()
bool __fastcall loadFromFile (LPCTSTR _fileName)
bool __fastcall create (int _width, int _height)
bool __fastcall drawLine (int debX, int debY, int endX, int endY, int bkColor, int ftColor, int width)
bool __fastcall draw (int posX, int posY)
bool __fastcall fill (int color)
bool __fastcall release ()
bool __fastcall setTransparent (bool _transparent, COLORREF _transpColor)

Public Attributes

LPDIRECTDRAWSURFACE surface
RECT rect
int transpColor
bool transparent


Constructor & Destructor Documentation

jDsprite::jDsprite jDDraw _lpDD  ) 
 

jDsprite::jDsprite jDDraw _lpDD,
LPCTSTR  _fileName
 

jDsprite::~jDsprite  ) 
 


Member Function Documentation

bool __fastcall jDsprite::create int  _width,
int  _height
 

bool __fastcall jDsprite::draw int  posX,
int  posY
[inline]
 

bool __fastcall jDsprite::drawLine int  debX,
int  debY,
int  endX,
int  endY,
int  bkColor,
int  ftColor,
int  width
[inline]
 

bool __fastcall jDsprite::fill int  color  )  [inline]
 

bool __fastcall jDsprite::loadFromFile LPCTSTR  _fileName  ) 
 

bool __fastcall jDsprite::release  ) 
 

bool __fastcall jDsprite::setTransparent bool  _transparent,
COLORREF  _transpColor
 


Member Data Documentation

RECT jDsprite::rect
 

LPDIRECTDRAWSURFACE jDsprite::surface
 

bool jDsprite::transparent
 

int jDsprite::transpColor
 


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