Planeshift
pawsImageDrawable Class Reference

#include <pawsimagedrawable.h>

Public Member Functions

void Draw (int x, int y, int alpha=-1)
 
void Draw (csRect rect, int alpha=-1)
 
void Draw (int x, int y, int newWidth, int newHeight, int alpha=-1)
 
void ExpandClipRect (csRect &)
 
int GetDefaultAlpha () const
 
int GetHeight () const
 
iImage * GetImage ()
 
const char * GetName () const
 
int GetTransparentBlue () const
 
int GetTransparentGreen () const
 
int GetTransparentRed () const
 
int GetWidth () const
 
bool IsLoaded () const
 
 pawsImageDrawable (iDocumentNode *node)
 
 pawsImageDrawable (const char *file, const char *resource, bool tiled, const csRect &textureRect, int alpha, int transR, int transG, int transB)
 
 pawsImageDrawable (const char *file, const char *resource)
 
virtual ~pawsImageDrawable ()
 

Detailed Description

Definition at line 29 of file pawsimagedrawable.h.

Constructor & Destructor Documentation

pawsImageDrawable::pawsImageDrawable ( iDocumentNode *  node)
pawsImageDrawable::pawsImageDrawable ( const char *  file,
const char *  resource,
bool  tiled,
const csRect &  textureRect,
int  alpha,
int  transR,
int  transG,
int  transB 
)
pawsImageDrawable::pawsImageDrawable ( const char *  file,
const char *  resource 
)
virtual pawsImageDrawable::~pawsImageDrawable ( )
virtual

Member Function Documentation

void pawsImageDrawable::Draw ( int  x,
int  y,
int  alpha = -1 
)
void pawsImageDrawable::Draw ( csRect  rect,
int  alpha = -1 
)
void pawsImageDrawable::Draw ( int  x,
int  y,
int  newWidth,
int  newHeight,
int  alpha = -1 
)
void pawsImageDrawable::ExpandClipRect ( csRect &  )
inline

Definition at line 80 of file pawsimagedrawable.h.

int pawsImageDrawable::GetDefaultAlpha ( ) const
int pawsImageDrawable::GetHeight ( ) const
iImage* pawsImageDrawable::GetImage ( )
const char* pawsImageDrawable::GetName ( ) const
int pawsImageDrawable::GetTransparentBlue ( ) const
int pawsImageDrawable::GetTransparentGreen ( ) const
int pawsImageDrawable::GetTransparentRed ( ) const
int pawsImageDrawable::GetWidth ( ) const
bool pawsImageDrawable::IsLoaded ( ) const

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