Documentation ¶
Overview ¶
Package x11driver provides the X11 driver for accessing a screen.
Index ¶
- func Main(f func(screen.Screen))
- type Window
- func (w *Window) Copy(dp image.Point, src screen.Texture, sr image.Rectangle, op draw.Op)
- func (w *Window) Draw(src2dst f64.Aff3, src screen.Texture, sr image.Rectangle, op draw.Op)
- func (w *Window) DrawUniform(src2dst f64.Aff3, src color.Color, sr image.Rectangle, op draw.Op)
- func (w *Window) Fill(dr image.Rectangle, src color.Color, op draw.Op)
- func (w *Window) GetCursorPosition() (x, y float64)
- func (w *Window) HideCursor() error
- func (w *Window) MoveWindow(x, y, width, height int) error
- func (w *Window) Publish()
- func (w *Window) Release()
- func (w *Window) Scale(dr image.Rectangle, src screen.Texture, sr image.Rectangle, op draw.Op)
- func (w *Window) SetBorderless(borderless bool) error
- func (w *Window) SetFullScreen(fullscreen bool) error
- func (w *Window) SetIcon(icon image.Image) error
- func (w *Window) SetTitle(title string) error
- func (w *Window) SetTopMost(topMost bool) error
- func (w *Window) Upload(dp image.Point, src screen.Image, sr image.Rectangle)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Window ¶
func (*Window) DrawUniform ¶
func (*Window) GetCursorPosition ¶
func (*Window) HideCursor ¶
func (*Window) MoveWindow ¶
func (*Window) SetBorderless ¶
func (*Window) SetFullScreen ¶
func (*Window) SetTopMost ¶
Click to show internal directories.
Click to hide internal directories.