C# Class CSharpGL.Save2PictureHelper

Helper class for screen shot of OpenGL canvas.
Show file Open project: bitzhuwei/CSharpGL

Public Methods

Method Description
ScreenShot ( int x, int y, int width, int height ) : Bitmap

Screen shot of OpenGL canvas.

Method Details

ScreenShot() public static method

Screen shot of OpenGL canvas.
public static ScreenShot ( int x, int y, int width, int height ) : Bitmap
x int mouse position(Left Down is (0, 0)).
y int mouse position(Left Down is (0, 0)).
width int 宽度
height int 高度
return System.Drawing.Bitmap