Tao.Sdl SDK Documentation |
|
SdlGfx.SDL_imageFilterMultDivby2 Method
SDL_imageFilterMultDivby2: D = saturation255(S1/2 * S2)
[Visual Basic]
Public Shared Function SDL_imageFilterMultDivby2( _
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_imageFilterMultDivby2(unsigned char *Src1, unsigned char *Src2, unsigned char *Dest, int length)
See Also
SdlGfx Class | Tao.Sdl Namespace