Example #1
0
 public static Rectangle ToGDIRect(this RawRectangle rect) => new Rectangle(rect.Left, rect.Top, rect.Width(), rect.Height());
 public static System.Drawing.Rectangle ToRectangle(this RawRectangle rect)
 {
     return(new System.Drawing.Rectangle(rect.Left, rect.Top, rect.Width(), rect.Height()));
 }