L_RectD_Inflate

#include "LtPrimitives.h"

L_LTKRN_API L_VOID L_RectD_Inflate(rect, size)

L_RECTD* rect;

pointer to the structure to set

const L_SIZED* size;

The amount to inflate

Inflates the specified L_RECTD structure by the specified amount.

Parameter Description
rect Pointer to the L_RECTD to set.
size The amount to inflate the L_RECTD.

Returns

None.

Comments

The inflation along an axis is in two directions (minus direction and plus direction). For example, if a 50 by 50 rectangle is inflated by 50 in the x-axis, the resulting rectangle will be 150 units long (the original 50, plus the 50 in the minus direction, and plus the 50 in the plus direction). The rectangle's geometric center is maintained.

If either size.cx or size.cy is negative, the L_RECTD is deflated in the corresponding direction.

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.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C API Help