L_BezierPath (original) (raw)
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
- LTIMGCOR
- 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
Functions
Topics
LEADTOOLS Raster Imaging C API Help