mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-12 19:02:20 +00:00
[NEW] Function to invert all the colors of an image
This commit is contained in:
parent
3b9d414405
commit
4349944ae7
3 changed files with 3864 additions and 3845 deletions
File diff suppressed because it is too large
Load diff
|
@ -8,7 +8,7 @@
|
||||||
#ifndef __GXHDR__
|
#ifndef __GXHDR__
|
||||||
#define __GXHDR__
|
#define __GXHDR__
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file GRRLIB.h
|
* @file GRRLIB.h
|
||||||
* GRRLIB library.
|
* 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_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_BMFX_Scatter(GRRLIB_texImg texsrc, GRRLIB_texImg texdest, int factor);
|
||||||
|
|
||||||
void GRRLIB_GXEngine(Vector v[], u32 color, long count, u8 fmt);
|
void GRRLIB_GXEngine(Vector v[], u32 color, long count, u8 fmt);
|
||||||
|
|
|
@ -56,7 +56,7 @@ ChangeLog :
|
||||||
|
|
||||||
* GRRLIB_CreateEmptyTexture and GRRLIB_FlushTex
|
* 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
|
* 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.
|
NoNameNo.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue