package
0.0.0-20201102054017-282493799a89
Repository: https://github.com/golangltd/leafltd.git
Documentation: pkg.go.dev

# Functions

Copy copies the sub-Texture defined by src and sr to dst, such that sr.Min in src-space aligns with dp in dst-space.
Scale scales the sub-Texture defined by src and sr to dst, such that sr in src-space is mapped to dr in dst-space.

# Constants

These draw.Op constants are provided so that users of this package don't have to explicitly import "image/draw".
These draw.Op constants are provided so that users of this package don't have to explicitly import "image/draw".

# Structs

DrawOptions are optional arguments to Draw.
NewWindowOptions are optional arguments to NewWindow.
PublishResult is the result of an Window.Publish call.

# Interfaces

Buffer is an in-memory pixel buffer.
Drawer is something you can draw Textures on.
Screen creates Buffers, Textures and Windows.
Texture is a pixel buffer, but not one that is directly accessible as a []byte.
Uploader is something you can upload a Buffer to.
Window is a top-level, double-buffered GUI window.