Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CL_Blit_Transparent_RLE Class Reference

#include <blit_transparent_rle.h>

Inheritance diagram for CL_Blit_Transparent_RLE:

Inheritance graph
[legend]
Collaboration diagram for CL_Blit_Transparent_RLE:

Collaboration graph
[legend]
List of all members.

Public Methods

 CL_Blit_Transparent_RLE (CL_SurfaceProvider *provider, int bytes_per_pixel)
virtual ~CL_Blit_Transparent_RLE ()
virtual void blt_noclip (CL_Target *dest_surf, int x, int y, int spr_no)

Protected Types

enum  { cmd_skip, cmd_copy, cmd_alpha, cmd_end }

Protected Methods

int calc_rle_size (unsigned char *alpha_line)
virtual unsigned char* make_rle_line (unsigned char *src_line, unsigned char *alpha_line)=0
virtual void blt_line (unsigned char *s, unsigned char *d)=0

Protected Attributes

int width
int height
int no_sprs
int bytes_per_pixel
unsigned char** rle_lines

Member Enumeration Documentation

anonymous enum [protected]
 

Enumeration values:
cmd_skip  
cmd_copy  
cmd_alpha  
cmd_end  

Definition at line 28 of file blit_transparent_rle.h.


Constructor & Destructor Documentation

CL_Blit_Transparent_RLE::CL_Blit_Transparent_RLE ( CL_SurfaceProvider * provider,
int bytes_per_pixel )
 

virtual CL_Blit_Transparent_RLE::~CL_Blit_Transparent_RLE ( ) [virtual]
 


Member Function Documentation

virtual void CL_Blit_Transparent_RLE::blt_line ( unsigned char * s,
unsigned char * d ) [protected, pure virtual]
 

virtual void CL_Blit_Transparent_RLE::blt_noclip ( CL_Target * dest_surf,
int x,
int y,
int spr_no ) [virtual]
 

Reimplemented from CL_Blit_NoClip.

int CL_Blit_Transparent_RLE::calc_rle_size ( unsigned char * alpha_line ) [protected]
 

virtual unsigned char* CL_Blit_Transparent_RLE::make_rle_line ( unsigned char * src_line,
unsigned char * alpha_line ) [protected, pure virtual]
 


Member Data Documentation

int CL_Blit_Transparent_RLE::bytes_per_pixel [protected]
 

Definition at line 25 of file blit_transparent_rle.h.

int CL_Blit_Transparent_RLE::height [protected]
 

Definition at line 24 of file blit_transparent_rle.h.

int CL_Blit_Transparent_RLE::no_sprs [protected]
 

Definition at line 24 of file blit_transparent_rle.h.

unsigned char** CL_Blit_Transparent_RLE::rle_lines [protected]
 

Definition at line 26 of file blit_transparent_rle.h.

int CL_Blit_Transparent_RLE::width [protected]
 

Definition at line 24 of file blit_transparent_rle.h.


The documentation for this class was generated from the following file:
Generated at Wed Apr 4 19:56:39 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001