Here are the examples of the csharp api class System.Drawing.PointF.ScaledBy(float) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Example
0
1. Example
Project: splat
Source File: PointExtensions.cs
Source File: PointExtensions.cs
public static PointF ProjectAlong(this PointF This, PointF direction) { var normalDirection = direction.Normalize(); var dist = This.DotProduct(normalDirection); return normalDirection.ScaledBy(dist); }