|
LMMS
|
#include "lice.h"#include <math.h>#include <stdio.h>#include "lice_combine.h"#include "lice_extended.h"#include "../swell/swell.h"Classes | |
| class | _LICE_Template_Blit0< COMBFUNC > |
| class | _LICE_Template_Blit1< COMBFUNC > |
| class | _LICE_Template_Blit2< COMBFUNC > |
| class | _LICE_Template_Blit3 |
| class | _LICE_Template_Blit4 |
| class | LICE_TransformBlit_class< T > |
| class | LICE_TransformBlitAlpha_class< T > |
| class | GlyphDrawImpl< COMBFUNC > |
Macros | |
| #define | __LICE_CPP_IMPLEMENTED__ |
| #define | WDL_NO_DEFINE_MINMAX |
| #define | IGNORE_SCALING(mode) |
| #define | DO_RECT_SC(mode) |
| #define | __LICE__ACTION(COMBFUNC) |
| #define | __LICE__ACTION(COMBFUNC) |
| #define | __LICE__ACTION(COMBFUNC) |
| #define | DOPIX(pout, r, g, b, a, ia) |
| #define | DOPIX(pout, r, g, b, a, ia) |
| #define | DOPIX(pout, r, g, b, a, ia) |
| #define | DOPIX(pout, r, g, b, a, ia) |
| #define | TOFIX(a) |
| #define | __LICE__ACTION(comb) |
| #define | __LICE__ACTION(comb) |
| #define | __LICE__ACTION(comb) |
| #define | __LICE__ACTION(comb) |
| #define | __LICE__ACTION(comb) |
| #define | __LICE__ACTION(comb) |
| #define | __LICE__ACTION(comb) |
| #define | __LICE__ACTION(comb) |
| #define | __LICE__ACTION(comb) |
| #define | __LICE__ACTION(COMBFUNC) |
| #define | __LICE__ACTION(COMBFUNC) |
| #define | __LICE__ACTION(COMBFUNC) |
| #define | __LICE__ACTION(COMBFUNC) |
Functions | |
| LICE_pixel | LICE_CombinePixels (LICE_pixel dest, LICE_pixel src, float alpha, int mode) |
| void | LICE_CombinePixels2 (LICE_pixel *destptr, int r, int g, int b, int a, int ia, int mode) |
| void | LICE_CombinePixels2Clamp (LICE_pixel *destptr, int r, int g, int b, int a, int ia, int mode) |
| void | LICE_Copy (LICE_IBitmap *dest, LICE_IBitmap *src) |
| void | LICE_GradRect (LICE_IBitmap *dest, int dstx, int dsty, int dstw, int dsth, float ir, float ig, float ib, float ia, float drdx, float dgdx, float dbdx, float dadx, float drdy, float dgdy, float dbdy, float dady, int mode) |
| static void | LICE_BlitInt (LICE_IBitmap *dest, LICE_IBitmap *src, int dstx, int dsty, const RECT *srcrect, float alpha, int mode, bool allowSc) |
| void | LICE_Blit (LICE_IBitmap *dest, LICE_IBitmap *src, int dstx, int dsty, const RECT *srcrect, float alpha, int mode) |
| void | LICE_Blit (LICE_IBitmap *dest, LICE_IBitmap *src, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, float alpha, int mode) |
| void | LICE_Blur (LICE_IBitmap *dest, LICE_IBitmap *src, int dstx, int dsty, int srcx, int srcy, int srcw, int srch) |
| void | LICE_ScaledBlit (LICE_IBitmap *dest, LICE_IBitmap *src, int dstx, int dsty, int dstw, int dsth, float srcx, float srcy, float srcw, float srch, float alpha, int mode) |
| void | LICE_DeltaBlit (LICE_IBitmap *dest, LICE_IBitmap *src, int dstx, int dsty, int dstw, int dsth, float srcx, float srcy, float srcw, float srch, double dsdx, double dtdx, double dsdy, double dtdy, double dsdxdy, double dtdxdy, bool cliptosourcerect, float alpha, int mode) |
| void | LICE_DeltaBlitAlpha (LICE_IBitmap *dest, LICE_IBitmap *src, int dstx, int dsty, int dstw, int dsth, float srcx, float srcy, float srcw, float srch, double dsdx, double dtdx, double dsdy, double dtdy, double dsdxdy, double dtdxdy, bool cliptosourcerect, float alpha, int mode, double dadx, double dady, double dadxdy) |
| void | LICE_RotatedBlit (LICE_IBitmap *dest, LICE_IBitmap *src, int dstx, int dsty, int dstw, int dsth, float srcx, float srcy, float srcw, float srch, float angle, bool cliptosourcerect, float alpha, int mode, float rotxcent, float rotycent) |
| void | LICE_Clear (LICE_IBitmap *dest, LICE_pixel color) |
| void | LICE_MultiplyAddRect (LICE_IBitmap *dest, int x, int y, int w, int h, float rsc, float gsc, float bsc, float asc, float radd, float gadd, float badd, float aadd) |
| void | LICE_ProcessRect (LICE_IBitmap *dest, int x, int y, int w, int h, void(*procFunc)(LICE_pixel *p, void *parm), void *parm) |
| void | LICE_FillRect (LICE_IBitmap *dest, int x, int y, int w, int h, LICE_pixel color, float alpha, int mode) |
| void | LICE_ClearRect (LICE_IBitmap *dest, int x, int y, int w, int h, LICE_pixel mask, LICE_pixel orbits) |
| LICE_pixel | LICE_GetPixel (LICE_IBitmap *bm, int x, int y) |
| void | LICE_PutPixel (LICE_IBitmap *bm, int x, int y, LICE_pixel color, float alpha, int mode) |
| void | LICE_TransformBlit (LICE_IBitmap *dest, LICE_IBitmap *src, int dstx, int dsty, int dstw, int dsth, const float *srcpoints, int div_w, int div_h, float alpha, int mode) |
| void | LICE_TransformBlit2 (LICE_IBitmap *dest, LICE_IBitmap *src, int dstx, int dsty, int dstw, int dsth, const double *srcpoints, int div_w, int div_h, float alpha, int mode) |
| void | LICE_TransformBlit2Alpha (LICE_IBitmap *dest, LICE_IBitmap *src, int dstx, int dsty, int dstw, int dsth, const double *srcpoints, int div_w, int div_h, int mode) |
| void | LICE_SetAlphaFromColorMask (LICE_IBitmap *dest, LICE_pixel color) |
| void | LICE_SimpleFill (LICE_IBitmap *dest, int x, int y, LICE_pixel newcolor, LICE_pixel comparemask, LICE_pixel keepmask) |
| void | LICE_DrawGlyphEx (LICE_IBitmap *dest, int x, int y, LICE_pixel color, const LICE_pixel_chan *alphas, int glyph_w, int glyph_span, int glyph_h, float alpha, int mode) |
| void | LICE_DrawGlyph (LICE_IBitmap *dest, int x, int y, LICE_pixel color, const LICE_pixel_chan *alphas, int glyph_w, int glyph_h, float alpha, int mode) |
| void | LICE_DrawMonoGlyph (LICE_IBitmap *dest, int x, int y, LICE_pixel color, const unsigned char *alphabits, int glyph_w, int glyph_span, int glyph_h, float alpha, int mode) |
| void | LICE_HalveBlitAA (LICE_IBitmap *dest, LICE_IBitmap *src) |
| int | LICE_BitmapCmp (LICE_IBitmap *a, LICE_IBitmap *b, int *coordsOut) |
| int | LICE_BitmapCmpEx (LICE_IBitmap *a, LICE_IBitmap *b, LICE_pixel mask, int *coordsOut) |
Variables | |
| _LICE_ImageLoader_rec * | LICE_ImageLoader_list |
| unsigned short | _LICE_RGB2HSV_invtab [256] |
| #define __LICE__ACTION | ( | comb | ) |
| #define __LICE__ACTION | ( | comb | ) |
| #define __LICE__ACTION | ( | comb | ) |
| #define __LICE__ACTION | ( | comb | ) |
| #define __LICE__ACTION | ( | comb | ) |
| #define __LICE__ACTION | ( | comb | ) |
| #define __LICE__ACTION | ( | comb | ) |
| #define __LICE__ACTION | ( | comb | ) |
| #define __LICE__ACTION | ( | comb | ) |
| #define __LICE__ACTION | ( | COMBFUNC | ) |
| #define __LICE__ACTION | ( | COMBFUNC | ) |
| #define __LICE__ACTION | ( | COMBFUNC | ) |
| #define __LICE__ACTION | ( | COMBFUNC | ) |
| #define __LICE__ACTION | ( | COMBFUNC | ) |
| #define __LICE__ACTION | ( | COMBFUNC | ) |
| #define __LICE__ACTION | ( | COMBFUNC | ) |
| #define __LICE_CPP_IMPLEMENTED__ |
| #define DO_RECT_SC | ( | mode | ) |
| #define IGNORE_SCALING | ( | mode | ) |
| #define WDL_NO_DEFINE_MINMAX |
| int LICE_BitmapCmp | ( | LICE_IBitmap * | a, |
| LICE_IBitmap * | b, | ||
| int * | coordsOut ) |
| int LICE_BitmapCmpEx | ( | LICE_IBitmap * | a, |
| LICE_IBitmap * | b, | ||
| LICE_pixel | mask, | ||
| int * | coordsOut ) |
| void LICE_Blit | ( | LICE_IBitmap * | dest, |
| LICE_IBitmap * | src, | ||
| int | dstx, | ||
| int | dsty, | ||
| const RECT * | srcrect, | ||
| float | alpha, | ||
| int | mode ) |
| void LICE_Blit | ( | LICE_IBitmap * | dest, |
| LICE_IBitmap * | src, | ||
| int | dstx, | ||
| int | dsty, | ||
| int | srcx, | ||
| int | srcy, | ||
| int | srcw, | ||
| int | srch, | ||
| float | alpha, | ||
| int | mode ) |
|
static |
| void LICE_Blur | ( | LICE_IBitmap * | dest, |
| LICE_IBitmap * | src, | ||
| int | dstx, | ||
| int | dsty, | ||
| int | srcx, | ||
| int | srcy, | ||
| int | srcw, | ||
| int | srch ) |
| void LICE_Clear | ( | LICE_IBitmap * | dest, |
| LICE_pixel | color ) |
| void LICE_ClearRect | ( | LICE_IBitmap * | dest, |
| int | x, | ||
| int | y, | ||
| int | w, | ||
| int | h, | ||
| LICE_pixel | mask, | ||
| LICE_pixel | orbits ) |
| LICE_pixel LICE_CombinePixels | ( | LICE_pixel | dest, |
| LICE_pixel | src, | ||
| float | alpha, | ||
| int | mode ) |
| void LICE_CombinePixels2Clamp | ( | LICE_pixel * | destptr, |
| int | r, | ||
| int | g, | ||
| int | b, | ||
| int | a, | ||
| int | ia, | ||
| int | mode ) |
| void LICE_Copy | ( | LICE_IBitmap * | dest, |
| LICE_IBitmap * | src ) |
| void LICE_DeltaBlit | ( | LICE_IBitmap * | dest, |
| LICE_IBitmap * | src, | ||
| int | dstx, | ||
| int | dsty, | ||
| int | dstw, | ||
| int | dsth, | ||
| float | srcx, | ||
| float | srcy, | ||
| float | srcw, | ||
| float | srch, | ||
| double | dsdx, | ||
| double | dtdx, | ||
| double | dsdy, | ||
| double | dtdy, | ||
| double | dsdxdy, | ||
| double | dtdxdy, | ||
| bool | cliptosourcerect, | ||
| float | alpha, | ||
| int | mode ) |
| void LICE_DeltaBlitAlpha | ( | LICE_IBitmap * | dest, |
| LICE_IBitmap * | src, | ||
| int | dstx, | ||
| int | dsty, | ||
| int | dstw, | ||
| int | dsth, | ||
| float | srcx, | ||
| float | srcy, | ||
| float | srcw, | ||
| float | srch, | ||
| double | dsdx, | ||
| double | dtdx, | ||
| double | dsdy, | ||
| double | dtdy, | ||
| double | dsdxdy, | ||
| double | dtdxdy, | ||
| bool | cliptosourcerect, | ||
| float | alpha, | ||
| int | mode, | ||
| double | dadx, | ||
| double | dady, | ||
| double | dadxdy ) |
| void LICE_DrawGlyph | ( | LICE_IBitmap * | dest, |
| int | x, | ||
| int | y, | ||
| LICE_pixel | color, | ||
| const LICE_pixel_chan * | alphas, | ||
| int | glyph_w, | ||
| int | glyph_h, | ||
| float | alpha, | ||
| int | mode ) |
| void LICE_DrawGlyphEx | ( | LICE_IBitmap * | dest, |
| int | x, | ||
| int | y, | ||
| LICE_pixel | color, | ||
| const LICE_pixel_chan * | alphas, | ||
| int | glyph_w, | ||
| int | glyph_span, | ||
| int | glyph_h, | ||
| float | alpha, | ||
| int | mode ) |
| void LICE_DrawMonoGlyph | ( | LICE_IBitmap * | dest, |
| int | x, | ||
| int | y, | ||
| LICE_pixel | color, | ||
| const unsigned char * | alphabits, | ||
| int | glyph_w, | ||
| int | glyph_span, | ||
| int | glyph_h, | ||
| float | alpha, | ||
| int | mode ) |
| void LICE_FillRect | ( | LICE_IBitmap * | dest, |
| int | x, | ||
| int | y, | ||
| int | w, | ||
| int | h, | ||
| LICE_pixel | color, | ||
| float | alpha, | ||
| int | mode ) |
| LICE_pixel LICE_GetPixel | ( | LICE_IBitmap * | bm, |
| int | x, | ||
| int | y ) |
| void LICE_GradRect | ( | LICE_IBitmap * | dest, |
| int | dstx, | ||
| int | dsty, | ||
| int | dstw, | ||
| int | dsth, | ||
| float | ir, | ||
| float | ig, | ||
| float | ib, | ||
| float | ia, | ||
| float | drdx, | ||
| float | dgdx, | ||
| float | dbdx, | ||
| float | dadx, | ||
| float | drdy, | ||
| float | dgdy, | ||
| float | dbdy, | ||
| float | dady, | ||
| int | mode ) |
| void LICE_HalveBlitAA | ( | LICE_IBitmap * | dest, |
| LICE_IBitmap * | src ) |
| void LICE_MultiplyAddRect | ( | LICE_IBitmap * | dest, |
| int | x, | ||
| int | y, | ||
| int | w, | ||
| int | h, | ||
| float | rsc, | ||
| float | gsc, | ||
| float | bsc, | ||
| float | asc, | ||
| float | radd, | ||
| float | gadd, | ||
| float | badd, | ||
| float | aadd ) |
| void LICE_ProcessRect | ( | LICE_IBitmap * | dest, |
| int | x, | ||
| int | y, | ||
| int | w, | ||
| int | h, | ||
| void(* | procFunc )(LICE_pixel *p, void *parm), | ||
| void * | parm ) |
| void LICE_PutPixel | ( | LICE_IBitmap * | bm, |
| int | x, | ||
| int | y, | ||
| LICE_pixel | color, | ||
| float | alpha, | ||
| int | mode ) |
| void LICE_RotatedBlit | ( | LICE_IBitmap * | dest, |
| LICE_IBitmap * | src, | ||
| int | dstx, | ||
| int | dsty, | ||
| int | dstw, | ||
| int | dsth, | ||
| float | srcx, | ||
| float | srcy, | ||
| float | srcw, | ||
| float | srch, | ||
| float | angle, | ||
| bool | cliptosourcerect, | ||
| float | alpha, | ||
| int | mode, | ||
| float | rotxcent, | ||
| float | rotycent ) |
| void LICE_ScaledBlit | ( | LICE_IBitmap * | dest, |
| LICE_IBitmap * | src, | ||
| int | dstx, | ||
| int | dsty, | ||
| int | dstw, | ||
| int | dsth, | ||
| float | srcx, | ||
| float | srcy, | ||
| float | srcw, | ||
| float | srch, | ||
| float | alpha, | ||
| int | mode ) |
| void LICE_SetAlphaFromColorMask | ( | LICE_IBitmap * | dest, |
| LICE_pixel | color ) |
| void LICE_SimpleFill | ( | LICE_IBitmap * | dest, |
| int | x, | ||
| int | y, | ||
| LICE_pixel | newcolor, | ||
| LICE_pixel | comparemask, | ||
| LICE_pixel | keepmask ) |
| void LICE_TransformBlit | ( | LICE_IBitmap * | dest, |
| LICE_IBitmap * | src, | ||
| int | dstx, | ||
| int | dsty, | ||
| int | dstw, | ||
| int | dsth, | ||
| const float * | srcpoints, | ||
| int | div_w, | ||
| int | div_h, | ||
| float | alpha, | ||
| int | mode ) |
| void LICE_TransformBlit2 | ( | LICE_IBitmap * | dest, |
| LICE_IBitmap * | src, | ||
| int | dstx, | ||
| int | dsty, | ||
| int | dstw, | ||
| int | dsth, | ||
| const double * | srcpoints, | ||
| int | div_w, | ||
| int | div_h, | ||
| float | alpha, | ||
| int | mode ) |
| void LICE_TransformBlit2Alpha | ( | LICE_IBitmap * | dest, |
| LICE_IBitmap * | src, | ||
| int | dstx, | ||
| int | dsty, | ||
| int | dstw, | ||
| int | dsth, | ||
| const double * | srcpoints, | ||
| int | div_w, | ||
| int | div_h, | ||
| int | mode ) |
| unsigned short _LICE_RGB2HSV_invtab[256] |
| _LICE_ImageLoader_rec* LICE_ImageLoader_list |