L_StopDithering

#include "l_bitmap.h"

L_INT EXT_FUNCTION L_StopDithering(pBitmap)

pBITMAPHANDLE pBitmap;

/* address of the bitmap handle */

Cleans up all data variables and buffers allocated by the L_StartDithering and L_DitherLine functions. This function resets all internal variables to their default settings.

Parameter

Description

pBitmap

Address of the bitmap handle that describes the bitmap that was dithered. It is the same bitmap handle that was specified in the L_StartDithering function.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

For a description of how the functions relate to each other, refer to L_StartDithering.

Required DLLs and Libraries

LTKRN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Windows 95 / 98 / Me, Windows 2000 / XP, Windows CE.

See Also

Functions:

L_ConvertBuffer, L_StartDithering, L_DitherLine

Topics:

Raster Image Functions: Doing Color Expansion or Reduction

 

Raster Image Functions: Doing Color Space Conversions

Example

For an example, refer to L_StartDithering.