L_Rect_Intersect (original) (raw)
Summary
Sets the value of the rect
to the intersection of two L_RECT structures.
Syntax
#include "LtPrimitives.h"
L_LTKRN_API L_VOID L_Rect_Intersect(rect, rect1, rect2)
Parameters
L_RECT* rect
Pointer to the L_RECT to set with the intersection of rect1
and rect2
.
const L_RECT* rect1
The first L_RECT to intersect.
const L_RECT* rect2
The second L_RECT 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
- 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, Linux.
See Also
Structures
Topics
LEADTOOLS Raster Imaging C API Help