Offsets the point in the direction specified by LineEndPt. The Dist parameters specifies the distance to move the point as a percentage (0=0%, 1=100%) of the distance between the input point and the line end point. The moved point is returned.
Namespace: RSGraphics
Delphi |
function OffsetPoint( var Pt: TPoint; LineEndPt: TPoint; Dist: TRSGfxFloat ): TPoint; overload; |
Parameters
Pt
Type: TPoint
Point to move
LineEndPt
Type: TPoint
End Point, that together with Pt, specifies the direction to move the point.
Dist
Type: System.Void
Distance to move the point as a percentage (0=0%, 1=100%) of the distance between the input point and the line end point.
Type: TPoint