pCurve array based on a curve or lines that pass through the specified points.
L_LTIMGEFX_API L_INT L_GetCurvePoints(pCurve, apUserPoint, uUserPointCount, puPointCount, uFlags)
Pointer to the array to be filled by this function. To get the real value of the array elements, each of the values must be divided by 1000.
Pointer to an array of POINT structures that contain the points on the curve used to determine the values for
pCurve. The minimum x coordinate value is 0.
Number of points in the
Pointer to a variable to be updated with the number of entries in
pCurve that were actually updated by this function.
Flag that indicates the method to be used to update the buffer. Possible values are:
|GUB_LINEAR||[0x0001] Fill pCurve with lines that pass through the user points.|
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
This function will update
pCurve using either the best curve or lines that pass through the points specified in the
apUserPoint parameter. The points in the array may be sorted or not. In most cases, this function is used with the L_FreeHandShearBitmap, or L_FreeHandWaveBitmap functions.
Use the following formula to compute the size of the pCurve array:
Size = Maximum (apUserPoint.x) +
This means that the user finds the maximum x coordinate value in apUserPoint and adds to that value the number of points in the apUserPoint array. It is best to initialize the pCurve array before sending it to the function.
The values stored in pCurve represent the y coordinates of the calculated curve based on the points in the apUserPoint array. In the pCurve array there can be only one y value for each x coordinate. Therefore, circles, ellipses, and spirals cannot be represented by pCurve.
The x coordinates for the user points are sorted internally automatically.
Win32, x64, Linux.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries