L_BitmapHasMeaningfulAlpha

#include "l_bitmap.h"

L_LTKRN_API L_BOOL L_BitmapHasMeaningfulAlpha(pBitmap)

pBITMAPHANDLE pBitmap;

/* pointer to the bitmap handle */

Determines whether the bitmap has meaningful alpha channel data.

Parameter

Description

pBitmap

Pointer to the bitmap handle referencing the bitmap to test.

Returns

TRUE

At least one alpha channel value is not equal to 0xFF.

FALSE

All alpha channel values are set to 0xFF or there was an error.

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

Win32, x64.

See Also

Functions:

L_GetBitmapAlpha, L_SetBitmapAlphaValues, L_SetBitmapAlpha

Topics:

Defining and Using a Bitmap Region

 

Implementing Transparency

 

Saving a Region

 

Raster Image Functions: Using the Alpha Channel

Example

For an example, refer to L_SetBitmapAlpha.