Documentation ¶
Index ¶
- Constants
- func BitBlt(hdcDest HDC, nXDest, nYDest, nWidth, nHeight int, hdcSrc HDC, nXSrc, nYSrc int, ...)
- func CaptureRect(rect image.Rectangle) (*image.RGBA, error)
- func CaptureScreen() (*image.RGBA, error)
- func DeleteDC(hdc HDC) bool
- func DeleteObject(hObject HGDIOBJ) bool
- func GetDeviceCaps(hdc HDC, index int) int
- func GetLastError() uint32
- func ReleaseDC(hwnd HWND, hDC HDC) bool
- func ScreenRect() (image.Rectangle, error)
- type BITMAPINFO
- type BITMAPINFOHEADER
- type HANDLE
- type HBITMAP
- type HDC
- type HGDIOBJ
- type HWND
- type RGBQUAD
Constants ¶
View Source
const ( HORZRES = 8 VERTRES = 10 DESKTOPHORZRES = 118 DESKTOPVERTRES = 117 BI_RGB = 0 InvalidParameter = 2 DIB_RGB_COLORS = 0 SRCCOPY = 0x00CC0020 )
Variables ¶
This section is empty.
Functions ¶
func CaptureScreen ¶
func DeleteObject ¶
func GetDeviceCaps ¶
func GetLastError ¶
func GetLastError() uint32
func ScreenRect ¶
Types ¶
type BITMAPINFO ¶
type BITMAPINFO struct { BmiHeader BITMAPINFOHEADER BmiColors *RGBQUAD }
type BITMAPINFOHEADER ¶
Click to show internal directories.
Click to hide internal directories.