System.Windows.Forms.XplatUIX11.BlitFromOffscreen C# (CSharp) Method

BlitFromOffscreen() private method

private BlitFromOffscreen ( IntPtr dest_handle, Graphics dest_dc, object offscreen_drawable, Graphics offscreen_dc, Rectangle r ) : void
dest_handle System.IntPtr
dest_dc System.Drawing.Graphics
offscreen_drawable object
offscreen_dc System.Drawing.Graphics
r System.Drawing.Rectangle
return void
		internal override void BlitFromOffscreen (IntPtr dest_handle,
							  Graphics dest_dc,
							  object offscreen_drawable,
							  Graphics offscreen_dc,
							  Rectangle r)
		{
			XGCValues gc_values;
			IntPtr gc;

			gc_values = new XGCValues();

			gc = XCreateGC (DisplayHandle, dest_handle, IntPtr.Zero, ref gc_values);

			XCopyArea (DisplayHandle, (IntPtr)offscreen_drawable, dest_handle,
				   gc, r.X, r.Y, r.Width, r.Height, r.X, r.Y);

			XFreeGC (DisplayHandle, gc);
		}
XplatUIX11