[NEW] Function to invert all the colors of an image

This commit is contained in:
Crayon2000 2009-02-14 06:03:43 +00:00
parent 3b9d414405
commit 4349944ae7
3 changed files with 3864 additions and 3845 deletions

File diff suppressed because it is too large Load diff

View file

@ -8,7 +8,7 @@
#ifndef __GXHDR__
#define __GXHDR__
/**
/**
* @file GRRLIB.h
* GRRLIB library.
*/
@ -67,7 +67,8 @@ void GRRLIB_SetPixelTotexImg(int x, int y, GRRLIB_texImg tex, u32 color);
void GRRLIB_FlushTex(GRRLIB_texImg tex);
void GRRLIB_BMFX_GrayScale(GRRLIB_texImg texsrc, GRRLIB_texImg texdest);
void GRRLIB_BMFX_Grayscale(GRRLIB_texImg texsrc, GRRLIB_texImg texdest);
void GRRLIB_BMFX_Invert(GRRLIB_texImg texsrc, GRRLIB_texImg texdest);
void GRRLIB_BMFX_Scatter(GRRLIB_texImg texsrc, GRRLIB_texImg texdest, int factor);
void GRRLIB_GXEngine(Vector v[], u32 color, long count, u8 fmt);

View file

@ -56,7 +56,7 @@ ChangeLog :
* GRRLIB_CreateEmptyTexture and GRRLIB_FlushTex
* New Bitmap FX: GRRLIB_BMFX_GrayScale and GRRLIB_BMFX_Scatter
* New Bitmap FX: GRRLIB_BMFX_Grayscale, GRRLIB_BMFX_Invert and GRRLIB_BMFX_Scatter
* add GRRLIB_Exit to free the memory allocated by GRRLIB
@ -70,5 +70,3 @@ Contact me to provide me all your patch/addon/new functions...
NoNameNo.