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); }
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); }
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)); }