Exemplo n.º 1
0
 public static SizeF Scale(SizeF size, float flScale)
 {
     SizeF ef = size;
     ef.Scale(flScale);
     return ef;
 }
Exemplo n.º 2
0
 public static SizeF Min(SizeF sz1, SizeF sz2)
 {
     return new SizeF(Math.Min(sz1.Width, sz2.Width), Math.Min(sz1.Height, sz2.Height));
 }
Exemplo n.º 3
0
 static SizeF()
 {
     Empty = Zero;
     Zero = new SizeF(0f, 0f);
 }
Exemplo n.º 4
0
 public SizeF(SizeF size)
 {
     this.width = size.width;
     this.height = size.height;
 }
Exemplo n.º 5
0
 internal static Size Truncate(SizeF value)
 {
     return new Size((int)value.Width, (int)value.Height);
 }