#include "LtPrimitives.h"

L_LTKRN_API L_VOID L_RectD_Intersect(rect, rect1, rect2)

L_RECTD* rect;

pointer to the structure to set

const L_RECTD* rect1;

The first L_RECTD to intersect

const L_RECTD* rect2;

The second L_RECTD to intersect

Sets the value of the rect to the intersection of two L_RECTD structures.

Parameter Description
rect Pointer to the L_RECTD to set with the intersection of rect1 and rect2.
rect1 The first L_RECTD to intersect.
rect2 The second L_RECTD to intersect.




When this function returns, the size of rect represents the overlapped area of rect1 and rect2.

If there is no intersection, an empty rectangle is set.

Required DLLs and Libraries


For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.


Win32, x64, Linux.

Help Version 20.0.2019.3.12
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help