Esempio n. 1
0
 public void DrawMemoryBitmap(MemoryBitmap bmp, int x, int y)
 {
     this.DrawMemoryBitmap(x, y, bmp.Width, bmp.Height, bmp.Width * sizeof(uint), bmp.BufferPtr, 0, bmp.BufferSize);
 }
Esempio n. 2
0
 public void DrawMemoryBitmap(MemoryBitmap mb, int x, int y)
 {
     this.DrawMemoryBitmap(x, y, mb.Width, mb.Height, mb.Width * sizeof(uint), mb.BufferPtr, 0, mb.BufferSize);
 }
Esempio n. 3
0
 public static void CopyBuffer(MemoryBitmap from, MemoryBitmap to)
 {
     CopyBuffer(from.BufferPtr, from.Width, from.Height, to.BufferPtr, to.Width, to.Height, 0, 0,
                Math.Min(from.Width, to.Width), Math.Min(from.Height, to.Height));
 }