Updates the curve array based on a curve or lines that pass through the specified points.
public static int GetCurvePoints(
int[] curve,
LeadPoint[] userPoints,
CurvePointsType type
)
Public Shared Function GetCurvePoints( _
ByVal curve() As Integer, _
ByVal userPoints() As Leadtools.LeadPoint, _
ByVal type As Leadtools.Imageprocessing.Effects.CurvePointsType _
) As Integer
public static int GetCurvePoints(
int[] curve,
Leadtools.LeadPoint[] userPoints,
Leadtools.Imageprocessing.Effects.CurvePointsType type
)
+ (NSUInteger)getCurvePoints:(int *)curve
userPoints:(const LeadPoint *)userPoints
userPointsCount:(NSUInteger)userPointsCount
type:(LTCurvePointsType)type
error:(NSError **)error
public static int getCurvePoints(
int[] curve,
LeadPoint[] userPoints,
CurvePointsType type
)
function Leadtools.ImageProcessing.Effects.EffectsUtilities.GetCurvePoints(
curve ,
userPoints ,
type
)
public:
static int GetCurvePoints(
array<int>^ curve,
Leadtools.array<LeadPoint>^ userPoints,
Leadtools.Imageprocessing.Effects.CurvePointsType type
)
curve
Array of integers to be filled by this method. To get the real value of the array elements, each of the values must be divided by 1000.
userPoints
Array of LeadPoint structures that contain the points on the curve used to determine the values of curve array. The minimum x coordinate value is 0.
type
Flag that indicates the method to be used to update the curve array.
return the number of entries in curve array that were actually updated by this method.
To compute the size of the curve array: Size = Maximum (userPoint.X) + userPoints.Length; This means that the user needs to find the maximum x coordinate value out of userPoint and add the number of Points (userPoints.Length) sent to the method.
It's recommended to initialize the array curve before sending it to the function.
Refer to FreeHandShearCommand and FreeHandWaveCommandexamples.
Leadtools.ImageProcessing.SpecialEffects.FreeHandShearCommand
Leadtools.ImageProcessing.SpecialEffects.FreeHandWaveCommand
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET