Beispiel #1
0
        public BitmapGdi ToBitmapGdi()
        {
            var result = new BitmapGdi(Width, Height);

            result.CopyPixelsFrom(this);
            return(result);
        }
Beispiel #2
0
        public static BitmapGdi ToBitmapGdi(this BitmapSource src)
        {
            var result = new BitmapGdi(src.PixelWidth, src.PixelHeight);

            result.CopyPixelsFrom(src);
            return(result);
        }
Beispiel #3
0
 public BitmapGdi ToBitmapGdi()
 {
     var result = new BitmapGdi(Width, Height);
     result.CopyPixelsFrom(this);
     return result;
 }
Beispiel #4
0
 public static BitmapGdi ToBitmapGdi(this BitmapSource src)
 {
     var result = new BitmapGdi(src.PixelWidth, src.PixelHeight);
     result.CopyPixelsFrom(src);
     return result;
 }