C# 클래스 Longkong.Utility.Imaging

파일 보기 프로젝트 열기: Longkong/Pojjaman

공개 메소드들

메소드 설명
CaptureActiveWindow ( ) : Image
CopyBitmapBitsUsingBitBlt ( Bitmap currentImage, Rectangle region ) : Bitmap
CopyImageBits ( Image currentImage, Rectangle region ) : Image
StretchImage ( Point p, Rectangle zoomRegion, Size desiredSize, RasterOperations opcode ) : Image
StretchImage ( Point p, Rectangle zoomRegion, Size desiredSize, RasterOperations opcode, bool captureLayeredWindows ) : Image

비공개 메소드들

메소드 설명
BitBlt ( IntPtr targetDC, int targetX, int targetY, int targetWidth, int targetHeight, IntPtr sourceDC, int sourceStartX, int sourceStartY, RasterOperations ro ) : bool
CaptureScreenRegion ( Point location, Size size, RasterOperations opcode ) : Image
CreateCompatibleDC ( IntPtr hdc ) : IntPtr
DeleteDC ( IntPtr hdc ) : bool
DeleteObject ( IntPtr hObject ) : bool
GetDesktopWindow ( ) : IntPtr
GetWindowDC ( IntPtr windowHandle ) : IntPtr
GetWindowLong ( IntPtr hWnd, int nIndex ) : int
ReleaseDC ( IntPtr windowHandle, IntPtr dc ) : int
SelectObject ( IntPtr hdc, IntPtr hgdiobj ) : IntPtr
SetLayeredWindowAttributes ( HandleRef hwnd, int crKey, byte bAlpha, int dwFlags ) : bool
SetWindowLong ( IntPtr hWnd, int nIndex, int dwNewLong ) : int
ShowWindow ( IntPtr handle, int message ) : bool
StretchBlt ( IntPtr destDC, int dX, int dY, int dWidth, int dHeight, IntPtr sourceDC, int sX, int sY, int sWidth, int sHeight, RasterOperations ro ) : bool

메소드 상세

CaptureActiveWindow() 공개 정적인 메소드

public static CaptureActiveWindow ( ) : Image
리턴 Image

CopyBitmapBitsUsingBitBlt() 공개 정적인 메소드

public static CopyBitmapBitsUsingBitBlt ( Bitmap currentImage, Rectangle region ) : Bitmap
currentImage System.Drawing.Bitmap
region System.Drawing.Rectangle
리턴 System.Drawing.Bitmap

CopyImageBits() 공개 정적인 메소드

public static CopyImageBits ( Image currentImage, Rectangle region ) : Image
currentImage Image
region System.Drawing.Rectangle
리턴 Image

StretchImage() 공개 정적인 메소드

public static StretchImage ( Point p, Rectangle zoomRegion, Size desiredSize, RasterOperations opcode ) : Image
p Point
zoomRegion System.Drawing.Rectangle
desiredSize System.Drawing.Size
opcode RasterOperations
리턴 Image

StretchImage() 공개 정적인 메소드

public static StretchImage ( Point p, Rectangle zoomRegion, Size desiredSize, RasterOperations opcode, bool captureLayeredWindows ) : Image
p Point
zoomRegion System.Drawing.Rectangle
desiredSize System.Drawing.Size
opcode RasterOperations
captureLayeredWindows bool
리턴 Image