L_BezierPath

Summary

Constructs the Bezier curve out of the input points.

Syntax

#include "ltimgcor.h"

L_LTIMGCOR_API L_INT L_BezierPath(pInPoints, ppOutPoints, pOutPointsCount, uFlags)

Parameters

L_POINT * pInPoints

An array of 4 points that will be used to form the curve. The first point represents the starting point of the curve. The second point represents the point that is 1/3 of the way between the first and the last point of the curve. The third point represents the point at 2/3 of the way between the first and the last point of the curve. The fourth point represents the last point of the curve.

L_POINT ** ppOutPoints

An array of points that form a Bezier curve.

L_INT * pOutPointsCount

The number of points in the Bezier path.

L_UINT uFlags

Reserved for future use.

Returns

Value Meaning
SUCCESS  
< 1 An error occurred. Refer to Return Codes.

Comments

This function requires an array of 4 points.

Use this function to match the output curve with the curve between two corners of the shape before calling L_UnWarp.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

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

LEADTOOLS Raster Imaging C API Help

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