예제 #1
0
파일: DHsm.cs 프로젝트: djpnewton/ddraw
 DRect GetBoundingBox(Figure f)
 {
     return DGeom.BoundingBoxOfRotatedRect(f.GetEncompassingRect(), f.Rotation, f.Rect.Center);
 }
예제 #2
0
파일: Figure.cs 프로젝트: djpnewton/ddraw
 public DRect GetChildBoundingBox(Figure f)
 {
     return DGeom.BoundingBoxOfRotatedRect(f.GetEncompassingRect(), Rotation, Rect.Center);
 }