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