ClanLib  2.3.7
List of all members
CL_PixelFormat Class Reference

Pixel utility functions. More...

#include <pixel_format.h>

Static Public Member Functions

Statics
static int get_mask_shift (unsigned int mask)
 Returns the shift of a color mask. More...
 
static int get_mask_bits (unsigned int mask)
 Returns the bit count of a color mask. More...
 
static unsigned int get_bitmask (int bits, int shift)
 Returns the color mask based on bit count and shift. More...
 

Detailed Description

Pixel utility functions.

Member Function Documentation

static unsigned int CL_PixelFormat::get_bitmask ( int  bits,
int  shift 
)
static

Returns the color mask based on bit count and shift.

static int CL_PixelFormat::get_mask_bits ( unsigned int  mask)
static

Returns the bit count of a color mask.

static int CL_PixelFormat::get_mask_shift ( unsigned int  mask)
static

Returns the shift of a color mask.


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