internal static global::System.Drawing.Rectangle BoundingBox(System.Collections.Generic.List<int>[] scanLines)
 {
     object[] args = new object[] {
         scanLines};
     global::System.Drawing.Rectangle ret = ((global::System.Drawing.Rectangle)(m_privateType.InvokeStatic("BoundingBox", new System.Type[] {
             typeof(System.Collections.Generic.List<int>).MakeArrayType()}, args)));
     return ret;
 }
Exemple #2
0
 public static RECT FromRectangle(global::System.Drawing.Rectangle Rectangle)
 {
     return(new RECT(Rectangle.Left, Rectangle.Top, Rectangle.Right, Rectangle.Bottom));
 }
Exemple #3
0
 public RECT(global::System.Drawing.Rectangle rectangle)
     : this(rectangle.Left, rectangle.Top, rectangle.Right, rectangle.Bottom)
 {
 }
 internal static global::System.Drawing.Bitmap Crop(global::System.Drawing.Bitmap image, global::System.Drawing.Rectangle srcRect)
 {
     object[] args = new object[] {
         image,
         srcRect};
     global::System.Drawing.Bitmap ret = ((global::System.Drawing.Bitmap)(m_privateType.InvokeStatic("Crop", new System.Type[] {
             typeof(global::System.Drawing.Bitmap),
             typeof(global::System.Drawing.Rectangle)}, args)));
     return ret;
 }