GoDiagram Win Reference
RescalePoints Method

Maintain the same shape for the stroke, but scale and rotate according to new points newFromPoint and newToPoint.
Syntax
'Declaration
 
Protected Overridable Function RescalePoints( _
   ByVal startIndex As Integer, _
   ByVal newFromPoint As PointF, _
   ByVal endIndex As Integer, _
   ByVal newToPoint As PointF _
) As Boolean
protected virtual bool RescalePoints( 
   int startIndex,
   PointF newFromPoint,
   int endIndex,
   PointF newToPoint
)

Parameters

startIndex
newFromPoint
endIndex
newToPoint
Remarks
The startIndex point should be set to newFromPoint, and the endIndex point should be set to newToPoint, and all the intermediate points should be scaled and rotated accordingly to maintain the same shape as the original set of points from startIndex to endIndex, inclusive. AdjustPoints calls this method when AdjustingStyle is GoLinkAdjustingStyle.Scale. This method should not be used when Orthogonal is true.
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

GoLink Class
GoLink Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback