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) |
contriblist * | CalcFilterWeight (float scale, float filterwidth, int srcsize, int dstsize, scale_filterfunc *filterfunc) |
#define B (1.0f / 3.0f) |
#define C (1.0f / 3.0f) |
#define CLAMP255 | ( | x | ) | ( x > 255 ? 255 : x ) |
typedef float( scale_filterfunc)(float) |
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 | |||
) |