C# Класс CSharpGL.Save2PictureHelper

Helper class for screen shot of OpenGL canvas.
Показать файл Открыть проект

Открытые методы

Метод Описание
ScreenShot ( int x, int y, int width, int height ) : Bitmap

Screen shot of OpenGL canvas.

Описание методов

ScreenShot() публичный статический Метод

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 高度
Результат System.Drawing.Bitmap