Logo Search packages:      
Sourcecode: race version File versions

Blitter Class Reference

#include <blitter.h>

List of all members.


Detailed Description

A bunch of blitting and creation functions to operate on CL_Canvas. Some of them are similar to the ones in ClanLib, but these are slower and work.

Definition at line 18 of file blitter.h.


Static Public Member Functions

static void ckey_texture_fill (CL_Canvas *dest, CL_Surface *src, float, float, float)
static CL_Canvas * clear_canvas (CL_Canvas *)
static CL_Surface * convert_to_32_bpp (CL_Surface *)
static CL_Canvas * convert_to_32_bpp (CL_SurfaceProvider *)
static CL_Canvas * create_canvas (CL_SurfaceProvider *)
static CL_Canvas * create_canvas (CL_Surface *)
static void put_alpha_surface (CL_Canvas *canvas, CL_SurfaceProvider *provider, int x, int y)
static void put_surface (CL_Canvas *, CL_SurfaceProvider *, int x, int y)
 Puts a given surface provider to a given canvas at position x, y.
static void put_surface (CL_Canvas *, CL_Surface *, int x, int y)
 Puts a given surface to a given canvas at position x, y.
static void put_surface_no_blending (CL_Canvas *, CL_Surface *, int x, int y)
static CL_Surface * scale_surface (CL_Surface *sur, int width, int height)
static CL_Canvas * scale_surface_to_canvas (CL_Surface *sur, int width, int height)
static void texture_fill (CL_Canvas *dest, CL_Surface *src)
static void texture_fill_mirror (CL_Canvas *dest, CL_Surface *src)

Static Private Member Functions

static void put_surface_32bit (CL_Canvas *, CL_SurfaceProvider *, int x, int y)
static void put_surface_32bit_no_blending (CL_Canvas *, CL_SurfaceProvider *, int x, int y)
static void put_surface_8bit (CL_Canvas *, CL_SurfaceProvider *, int x, int y)

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

Generated by  Doxygen 1.6.0   Back to index