Example #1
0
 DRect GetBoundingBox(Figure f)
 {
     return DGeom.BoundingBoxOfRotatedRect(f.GetEncompassingRect(), f.Rotation, f.Rect.Center);
 }
Example #2
0
 public DRect GetChildBoundingBox(Figure f)
 {
     return DGeom.BoundingBoxOfRotatedRect(f.GetEncompassingRect(), Rotation, Rect.Center);
 }