x

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (tomo.Backend, error)

Types

type Backend

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

func (*Backend) Do

func (this *Backend) Do(callback func())

func (*Backend) NewBox

func (this *Backend) NewBox() tomo.Box

func (*Backend) NewCanvas

func (this *Backend) NewCanvas(bounds image.Rectangle) canvas.CanvasCloser

func (*Backend) NewCanvasBox

func (this *Backend) NewCanvasBox() tomo.CanvasBox

func (*Backend) NewContainerBox

func (this *Backend) NewContainerBox() tomo.ContainerBox

func (*Backend) NewPlainWindow

func (this *Backend) NewPlainWindow(
	bounds image.Rectangle,
) (
	output tomo.MainWindow,
	err error,
)

func (*Backend) NewSurfaceBox

func (this *Backend) NewSurfaceBox() (tomo.SurfaceBox, error)

func (*Backend) NewTextBox

func (this *Backend) NewTextBox() tomo.TextBox

func (*Backend) NewTexture

func (this *Backend) NewTexture(source image.Image) canvas.TextureCloser

func (*Backend) NewWindow

func (this *Backend) NewWindow(
	bounds image.Rectangle,
) (
	output tomo.MainWindow,
	err error,
)

func (*Backend) Run

func (this *Backend) Run() error

func (*Backend) Stop

func (this *Backend) Stop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL