L_GetBitmapClipSegmentsMax

#include "l_bitmap.h"

L_INT32 EXT_FUNCTION L_GetBitmapClipSegmentsMax(pBitmap, puMaxSegments)

pBITMAPHANDLE pBitmap;

/* pointer to the bitmap handle */

L_UINT L_FAR * puMaxSegments;

/* pointer to a variable to be updated */

Gets the number of elements required to hold the clip segments for any row in the bitmap. Use this function in conjunction with L_GetBitmapClipSegments.

Parameter

Description

pBitmap

Pointer to the bitmap handle referencing the bitmap.

puMaxSegments

Pointer to a variable to be updated with the maximum number of segments in a row within 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

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

See Also

Functions:

L_GetBitmapClipSegments

Topics:

Raster Image Functions: Creating and Using a Region

 

Working with the Existing Bitmap Region

Example

For an example, refer to L_GetBitmapClipSegments.