Documentation ¶
Index ¶
- Constants
- func BeginPaint(hwnd syscall.Handle, ps *PAINTSTRUCT) (hdc syscall.Handle)
- func BitBlt(hdc syscall.Handle, nXDest, nYDest, nWidth, nHeight int, hdcSrc syscall.Handle, ...) bool
- func CreateCompatibleBitmap(hdc syscall.Handle, width, height uintptr) (hbitmap syscall.Handle)
- func CreateCompatibleDC(hwnd syscall.Handle) (hdc syscall.Handle)
- func CreateDIBSection(hdc syscall.Handle, pbmi *BITMAPINFO, iUsage uint, ppvBits uintptr, ...) (hbitmap syscall.Handle)
- func EndPaint(hwnd syscall.Handle, ps *PAINTSTRUCT) bool
- func GetDC(hwnd syscall.Handle) (hdc syscall.Handle)
- func GetObject(hgdiobj syscall.Handle, cbBuffer uintptr, object uintptr) (size uint32)
- func SelectObject(hdc syscall.Handle, hgdiobj syscall.Handle) syscall.Handle
- type BITMAP
- type BITMAPINFO
- type BITMAPINFOHEADER
- type PAINTSTRUCT
- type RECT
- type RGBQUAD
Constants ¶
View Source
const ( WM_PAINT = 15 BI_RGB = 0 BI_BITFIELDS = 3 DIB_PAL_COLORS = 1 DIB_RGB_COLORS = 0 BLACKNESS = 0x42 DSTINVERT = 0x550009 MERGECOPY = 0xC000CA MERGEPAINT = 0xBB0226 NOTSRCCOPY = 0x330008 NOTSRCERASE = 0x1100A6 PATCOPY = 0xF00021 PATINVERT = 0x5A0049 PATPAINT = 0xFB0A09 SRCAND = 0x8800C6 SRCCOPY = 0xCC0020 SRCERASE = 0x440328 SRCINVERT = 0x660046 SRCPAINT = 0xEE0086 WHITENESS = 0xFF0062 )
Variables ¶
This section is empty.
Functions ¶
func BeginPaint ¶
func BeginPaint(hwnd syscall.Handle, ps *PAINTSTRUCT) (hdc syscall.Handle)
func CreateCompatibleBitmap ¶
func CreateDIBSection ¶
Types ¶
type BITMAPINFO ¶
type BITMAPINFO struct { Header BITMAPINFOHEADER Colors [1]RGBQUAD }
type BITMAPINFOHEADER ¶
type PAINTSTRUCT ¶
Click to show internal directories.
Click to hide internal directories.