Ejemplo n.º 1
0
        public BitmapGdi ToBitmapGdi()
        {
            var result = new BitmapGdi(Width, Height);

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

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