LEADTOOLS Image Processing (Leadtools.ImageProcessing.Effects assembly)
LEAD Technologies, Inc

GetCurvePoints Method






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. .NET support WinRT support Silverlight support
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
)
 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

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

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.