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

RageSurfaceUtils.cpp File Reference

#include "global.h"
#include "RageSurfaceUtils.h"
#include "RageSurface.h"
#include "RageUtil.h"
#include "RageLog.h"
#include "RageFile.h"

Classes

struct  SurfaceHeader

Functions

void FindAlphaRGB (const RageSurface *img, uint8_t &r, uint8_t &g, uint8_t &b, bool reverse)
void SetAlphaRGB (const RageSurface *img, uint8_t r, uint8_t g, uint8_t b)
void GetRawRGBAV_XY (const RageSurface *src, uint8_t *v, int x, int y)
float scale (float x, float l1, float h1, float l2, float h2)
bool blit_same_type (const RageSurface *src_surf, const RageSurface *dst_surf, int width, int height)
bool blit_rgba_to_rgba (const RageSurface *src_surf, const RageSurface *dst_surf, int width, int height)
bool blit_generic (const RageSurface *src_surf, const RageSurface *dst_surf, int width, int height)
bool ImageUsesOffHotPink (const RageSurface *img)

Function Documentation

bool blit_generic const RageSurface src_surf,
const RageSurface dst_surf,
int  width,
int  height
[static]
 

bool blit_rgba_to_rgba const RageSurface src_surf,
const RageSurface dst_surf,
int  width,
int  height
[static]
 

bool blit_same_type const RageSurface src_surf,
const RageSurface dst_surf,
int  width,
int  height
[static]
 

void FindAlphaRGB const RageSurface img,
uint8_t &  r,
uint8_t &  g,
uint8_t &  b,
bool  reverse
[static]
 

void GetRawRGBAV_XY const RageSurface src,
uint8_t *  v,
int  x,
int  y
[inline, static]
 

bool ImageUsesOffHotPink const RageSurface img  )  [static]
 

float scale float  x,
float  l1,
float  h1,
float  l2,
float  h2
[inline, static]
 

void SetAlphaRGB const RageSurface img,
uint8_t  r,
uint8_t  g,
uint8_t  b
[static]
 


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