Tao.Sdl SDK Documentation

SdlGfx.SDL_imageFilterSubUint Method 

SDL_imageFilterSubUint: D = saturation0(S - (uint)C)

[Visual Basic]
Public Shared Function SDL_imageFilterSubUint( _
   ByVal Src1 As Byte(), _
   ByVal Dest As Byte(), _
   ByVal length As Integer, _
   ByVal C As Integer _
) As Integer
[C#]
public static int SDL_imageFilterSubUint(
   byte[] Src1,
   byte[] Dest,
   int length,
   int C
);

Parameters

Src1
Array of bytes
Dest
Array of bytes returned after operation.
length
Size of array
C
int to add

Return Value

Returns 0 for success and -1 for Error.

Remarks

Binds to C-function call in SDL_imageFilter.h.

            int SDL_imageFilterSubUint(unsigned char *Src1, unsigned char *Dest, int length, unsigned int C)
            

See Also

SdlGfx Class | Tao.Sdl Namespace