LEADTOOLS Image Processing (Leadtools.ImageProcessing.Effects assembly)

GetCurvePoints Method

Show in webframe







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.
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.
Flag that indicates the method to be used to update the curve array.
Updates the curve array based on a curve or lines that pass through the specified points.
Syntax
public static int GetCurvePoints( 
   int[] curve,
   LeadPoint[] userPoints,
   CurvePointsType type
)
'Declaration
 
Public Shared Function GetCurvePoints( _
   ByVal curve() As Integer, _
   ByVal userPoints() As LeadPoint, _
   ByVal type As CurvePointsType _
) As Integer
'Usage
 
Dim curve() As Integer
Dim userPoints() As LeadPoint
Dim type As CurvePointsType
Dim value As Integer
 
value = EffectsUtilities.GetCurvePoints(curve, userPoints, type)
public static int GetCurvePoints( 
   int[] curve,
   LeadPoint[] userPoints,
   CurvePointsType type
)
+ (unsigned int)getCurvePoints:(int*)curve 
                    userPoints:(const LeadPoint*)userPoints 
               userPointsCount:(unsigned int)userPointsCount 
                          type:(LTCurvePointsType)type 
                         error:(NSError**)outError;
            
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,
   array<LeadPoint>^ userPoints,
   CurvePointsType type
) 

Parameters

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 Value

return the number of entries in curve array that were actually updated by this method.
Remarks
Example
Refer to Leadtools.ImageProcessing.SpecialEffects.FreeHandShearCommand and Leadtools.ImageProcessing.SpecialEffects.FreeHandWaveCommandexamples.
Requirements

Target Platforms

See Also

Reference

EffectsUtilities Class
EffectsUtilities Members
Leadtools.ImageProcessing.SpecialEffects.FreeHandShearCommand
Leadtools.ImageProcessing.SpecialEffects.FreeHandWaveCommand

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.