LBitmap::GetOverlayCount

#include "ltwrappr.h"

virtual L_INT LBitmap::GetOverlayCount(uFlags)

L_UINT uFlags;

/* reserved for future use */

Gets the number of overlays that have been defined for the specified main bitmap.

Parameter

Description

uFlags

Reserved for future use. Pass 0.

Returns

The overlay count

Comments

This function will count how many overlays have been defined. The overlays are defined by calling LBitmap::SetOverlay or LBitmap::SetOverlayAttributes.

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.

See Also

Functions:

LBitmap::BricksTexture, LBitmap::Canvas, LBitmap::DisplaceMap, LBitmap::Fragment, LBitmap::Vignette, Class Members

Topics:

Raster Image Functions: Doing Geometric Transformations

 

Resizing Considerations, Overlay Overview

Example

/* This example will count the overlays from plBitmap which has been defined and initialized elsewhere. */

L_UINT uCount; 
uCount = pBitmap->GetOverlayCount(0); 
/* now uCount contains the number of overlays */