Ejemplo n.º 1
0
 public Bitmap(int width, int height, PixelFormat pixelFormat)
 {
     base.native = LibIGraph._CreateBitmap(width, height, pixelFormat);
     if (base.native == IntPtr.Zero)
     {
         throw new ArgumentException();
     }
     base.width       = width;
     base.height      = height;
     base.pixelFormat = pixelFormat;
 }