Esempio n. 1
0
        public Core.Graphics.Surface Capture()
        {
            var surface = new Core.Graphics.Surface(_width, _height, Core.Graphics.PixelFormat.Indexed8, false);

            Array.Copy(_pixels, surface.Pixels, _pixels.Length);
            return(surface);
        }
Esempio n. 2
0
 public Core.Graphics.Surface Capture()
 {
     var surface = new Core.Graphics.Surface(_width, _height, Core.Graphics.PixelFormat.Indexed8, false);
     Array.Copy(_pixels, surface.Pixels, _pixels.Length);
     return surface;
 }