L_RectD_Intersect

Summary

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

Syntax

#include "LtPrimitives.h"

L_LTKRN_API L_VOID L_RectD_Intersect(rect, rect1, rect2)

Parameters

L_RECTD* rect

Pointer to the L_RECTD to set with the intersection of rect1 and rect2.

const L_RECTD* rect1

The first L_RECTD to intersect.

const L_RECTD* rect2

The second L_RECTD to intersect.

Returns

None.

Comments

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

Platforms

Win32, x64, Linux.

See Also

Structures

Topics

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

LEADTOOLS Raster Imaging C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.