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