paint

package
v0.0.0-...-d20bc6a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SelectObject

func SelectObject[T win32.HGDIOBJ](hdc win32.HDC, object T) (struct{ Restore func() }, error)

Types

type Buffer

type Buffer struct {
	DC
	// contains filtered or unexported fields
}

func NewBuffer

func NewBuffer(dc win32.HDC, width, height win32.INT) (*Buffer, error)

func (*Buffer) Destroy

func (buf *Buffer) Destroy() error

type DC

type DC struct {
	// contains filtered or unexported fields
}

func (DC) HDC

func (dc DC) HDC() win32.HDC

type PaintDC

type PaintDC struct {
	DC
	// contains filtered or unexported fields
}

func NewPaintDC

func NewPaintDC(hwnd win32.HWND) (dc *PaintDC, err error)

func (*PaintDC) EndPaint

func (dc *PaintDC) EndPaint() error

func (*PaintDC) EraseBackground

func (dc *PaintDC) EraseBackground() bool

func (*PaintDC) Rect

func (dc *PaintDC) Rect() *win32.RECT

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳