Tao.Sdl SDK Documentation |
|
SdlGfx.SDL_imageFilterAdd Method
SDL_imageFilterAdd: D = saturation255(S1 + S2)
[Visual Basic]
Public Shared Function SDL_imageFilterAdd( _
ByVal
Src1 As
Byte(), _
ByVal
Src2 As
Byte(), _
ByVal
Dest As
Byte(), _
ByVal
length As
Integer _
) As
Integer
Parameters
-
Src1
- Array of bytes
-
Src2
- Array of bytes
-
Dest
- Array of bytes returned after operation.
-
length
- Size of array
Return Value
Returns 0 for success and -1 for Error.
Remarks
Binds to C-function call in SDL_imageFilter.h.
int SDL_imageFilterAdd(unsigned char *Src1, unsigned char *Src2, unsigned char *Dest, int length)
See Also
SdlGfx Class | Tao.Sdl Namespace