public PositionScope() { from = new PercentageF(); to = new PercentageF(); }
public static Point ToCoordinate(Bitmap bmp, PercentageF f) { return new Point((int)(bmp.Width * f.x), (int)(bmp.Height * f.y)); }