image.cpp File Reference


Classes

class  os::Image::Private
class  os::BitmapImage::Private
struct  contrib
struct  contriblist

Defines

#define CLAMP255(x)   ( x > 255 ? 255 : x )
#define B   (1.0f / 3.0f)
#define C   (1.0f / 3.0f)

Typedefs

typedef float( scale_filterfunc )(float)

Enumerations

enum  bitmapscale_filtertype {
  filter_filter,
  filter_box,
  filter_triangle,
  filter_bell,
  filter_bspline,
  filter_lanczos3,
  filter_mitchell
}

Functions

void Scale (Bitmap *srcbitmap, Bitmap *dstbitmap, bitmapscale_filtertype filtertype, float filterwidth=0.0f)
int clamp (int v, int l, int h)
contriblistCalcFilterWeight (float scale, float filterwidth, int srcsize, int dstsize, scale_filterfunc *filterfunc)

Define Documentation

#define B   (1.0f / 3.0f)

#define C   (1.0f / 3.0f)

#define CLAMP255 (  )     ( x > 255 ? 255 : x )


Typedef Documentation

typedef float( scale_filterfunc)(float)


Enumeration Type Documentation

enum bitmapscale_filtertype

Enumerator:
filter_filter 
filter_box 
filter_triangle 
filter_bell 
filter_bspline 
filter_lanczos3 
filter_mitchell 


Function Documentation

contriblist* CalcFilterWeight ( float  scale,
float  filterwidth,
int  srcsize,
int  dstsize,
scale_filterfunc filterfunc 
)

int clamp ( int  v,
int  l,
int  h 
)

void Scale ( Bitmap srcbitmap,
Bitmap dstbitmap,
bitmapscale_filtertype  filtertype,
float  filterwidth = 0.0f 
)


Generated on Sat May 9 22:50:54 2009 for Syllable higlevel API by  doxygen 1.5.1