L_FreeBitmapRgn

#include "l_bitmap.h"

L_LTDIS_API L_INT L_FreeBitmapRgn(pBitmap)

pBITMAPHANDLE pBitmap;

pointer to the bitmap handle

Removes the region from the bitmap and frees the memory used for the region.

Parameter

Description

pBitmap

Pointer to the bitmap handle referencing the bitmap that has the region.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Required DLLs and Libraries

LTDIS

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

Win32, x64, Linux.

See Also

Functions:

L_FrameBitmapRgn, L_BitmapHasRgn, L_GetBitmapRgnArea, L_IsPtInBitmapRgn

Topics:

Raster Image Functions: Creating and Using a Region

 

Raster Image Functions: Region Processing

 

Defining and Using a Bitmap Region

Example

For a short example, refer to L_SetBitmapRgnEllipse. For complete sample code, refer to the CHILD.C module of the DEMO example.

Help Version 20.0.2018.1.19
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C API Help