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

blit_opaque.h

Go to the documentation of this file.
00001 /*
00002         $Id: blit_opaque.h,v 1.1 2001/03/06 15:09:17 mbn Exp $
00003 
00004         ------------------------------------------------------------------------
00005         ClanLib, the platform independent game SDK.
00006 
00007         This library is distributed under the GNU LIBRARY GENERAL PUBLIC LICENSE
00008         version 2. See COPYING for details.
00009 
00010         For a total list of contributers see CREDITS.
00011 
00012         ------------------------------------------------------------------------
00013 */
00014 
00015 #ifndef header_blit_opaque
00016 #define header_blit_opaque
00017 
00018 #include "blitters.h"
00019 class CL_SurfaceProvider;
00020 
00021 class CL_Blit_Opaque :
00022         public CL_Blit_NoClip,
00023         public CL_Blit_Clip,
00024         public CL_Blit_Scale_NoClip,
00025         public CL_Blit_Scale_Clip
00026 {
00027 protected:
00028         unsigned char *image;
00029         unsigned int image_pitch, image_bytes_per_pixel;
00030         unsigned int width, height, no_sprs;
00031 
00032 public:
00033         CL_Blit_Opaque(
00034                 CL_SurfaceProvider *provider,
00035                 int bytes_per_pixel,
00036                 CL_Target *target);
00037 
00038         virtual ~CL_Blit_Opaque();
00039 
00040         virtual void blt_noclip(
00041                 CL_Target *dest_surf,
00042                 int x,
00043                 int y,
00044                 int spr_no);
00045 
00046         virtual void blt_clip(
00047                 CL_Target *dest_surf,
00048                 int x,
00049                 int y,
00050                 int spr_no,
00051                 const CL_ClipRect &clip);
00052 
00053         virtual void blt_scale_noclip(
00054                 CL_Target *dest_surf,
00055                 int x,
00056                 int y,
00057                 int dest_width,
00058                 int dest_height,
00059                 int spr_no);
00060 
00061         virtual void blt_scale_clip(
00062                 CL_Target *dest_surf,
00063                 int x,
00064                 int y,
00065                 int dest_width,
00066                 int dest_height,
00067                 int spr_no,
00068                 const CL_ClipRect &clip);
00069 };
00070 
00071 #endif

Generated at Wed Apr 4 19:53:58 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001