Exemple #1
0
 public static Rectangle ConstructRectangle(Point p, Loon.Core.Geom.RectBox d)
 {
     return(new Rectangle(p.X, p.Y, d.width, d.height));
 }
Exemple #2
0
 public static Loon.Core.Geom.RectBox Sum(Loon.Core.Geom.RectBox d1, Loon.Core.Geom.RectBox d2)
 {
     return(new Loon.Core.Geom.RectBox(0, 0, d1.width + d2.width, d1.height + d2.height));
 }