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

blit_dynamic.h

Go to the documentation of this file.
00001 /*
00002         $Id: blit_dynamic.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_dynamic
00016 #define header_blit_dynamic
00017 
00018 #include "blitters.h"
00019 #include "API/Display/Display/target.h"
00020 #include <Hermes/Hermes.h>
00021 
00022 class CL_SurfaceProvider;
00023 
00024 class CL_Blit_Dynamic :
00025         public CL_Blit_NoClip,
00026         public CL_Blit_Clip,
00027         public CL_Blit_Scale_NoClip,
00028         public CL_Blit_Scale_Clip
00029 {
00030 protected:
00031         CL_SurfaceProvider *provider;
00032 
00033         HermesFormat *dest_fmt, *src_fmt;
00034         HermesHandle handle, palette;
00035 
00036         bool use_palette;
00037 
00038 
00039 public:
00040         CL_Blit_Dynamic(
00041                 CL_SurfaceProvider *provider,
00042                 CL_Target *target);
00043 
00044         virtual ~CL_Blit_Dynamic();
00045 
00046         virtual void blt_noclip(
00047                 CL_Target *dest_surf,
00048                 int x,
00049                 int y,
00050                 int spr_no);
00051 
00052         virtual void blt_clip(
00053                 CL_Target *dest_surf,
00054                 int x,
00055                 int y,
00056                 int spr_no,
00057                 const CL_ClipRect &clip);
00058 
00059         virtual void blt_scale_noclip(
00060                 CL_Target *dest_surf,
00061                 int x,
00062                 int y,
00063                 int dest_width,
00064                 int dest_height,
00065                 int spr_no);
00066 
00067         virtual void blt_scale_clip(
00068                 CL_Target *dest_surf,
00069                 int x,
00070                 int y,
00071                 int dest_width,
00072                 int dest_height,
00073                 int spr_no,
00074                 const CL_ClipRect &clip);
00075 };
00076 
00077 #endif

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