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

RageSurface.cpp File Reference

#include "global.h"
#include "RageSurface.h"
#include "RageUtil.h"

Defines

#define COMP(a)   if( a != rhs.a ) return false;

Functions

int GetShiftFromMask (uint32_t mask)
int GetBitsFromMask (uint32_t mask)
void SetupFormat (RageSurfaceFormat &fmt, int width, int height, int BitsPerPixel, uint32_t Rmask, uint32_t Gmask, uint32_t Bmask, uint32_t Amask)
RageSurfaceCreateSurface (int width, int height, int BitsPerPixel, uint32_t Rmask, uint32_t Gmask, uint32_t Bmask, uint32_t Amask)
RageSurfaceCreateSurfaceFrom (int width, int height, int BitsPerPixel, uint32_t Rmask, uint32_t Gmask, uint32_t Bmask, uint32_t Amask, uint8_t *pPixels, uint32_t pitch)

Define Documentation

#define COMP  )     if( a != rhs.a ) return false;
 


Function Documentation

RageSurface* CreateSurface int  width,
int  height,
int  BitsPerPixel,
uint32_t  Rmask,
uint32_t  Gmask,
uint32_t  Bmask,
uint32_t  Amask
 

RageSurface* CreateSurfaceFrom int  width,
int  height,
int  BitsPerPixel,
uint32_t  Rmask,
uint32_t  Gmask,
uint32_t  Bmask,
uint32_t  Amask,
uint8_t *  pPixels,
uint32_t  pitch
 

int GetBitsFromMask uint32_t  mask  )  [static]
 

int GetShiftFromMask uint32_t  mask  )  [static]
 

void SetupFormat RageSurfaceFormat fmt,
int  width,
int  height,
int  BitsPerPixel,
uint32_t  Rmask,
uint32_t  Gmask,
uint32_t  Bmask,
uint32_t  Amask
 


Generated on Thu Jan 27 20:57:56 2005 for StepMania by doxygen 1.3.7