LBitmapBase::SetClipDstRect

#include "ltwrappr.h"

virtual L_INT LBitmapBase::SetClipDstRect(prcClipDst)

LPRECT prcClipDst;

/* pointer to a RECT structure */

Sets the destination clip rectangle.

Parameter

Description

prcClipDst

Pointer to a RECT structure for the new bitmap destination clip rectangle.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Use this function to set the destination clip rectangle for the class object.

For more information on source rectangles, destination rectangles and clipping rectangles, refer to Setting Rectangles.

This function is not working while being called from the classes LBitmapWindow, LAnimationWindow, or LAnnotationWindow.

Required DLLs and Libraries

LTDIS
LTFIL

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

Elements:

LBitmapBase::GetRects, LBitmapBase::SetSrcRect, LBitmapBase::SetClipSrcRect, LBitmapBase::SetDstRect, Class Members

Topics:

Setting Rectangles

Example

For an example, refer to LBitmapBase::GetRects.