Documentation ¶
Index ¶
- func New() (tomo.Backend, error)
- type Backend
- func (this *Backend) Do(callback func())
- func (this *Backend) NewBox() tomo.Box
- func (this *Backend) NewCanvas(bounds image.Rectangle) canvas.CanvasCloser
- func (this *Backend) NewCanvasBox() tomo.CanvasBox
- func (this *Backend) NewContainerBox() tomo.ContainerBox
- func (this *Backend) NewPlainWindow(bounds image.Rectangle) (output tomo.MainWindow, err error)
- func (this *Backend) NewSurfaceBox() (tomo.SurfaceBox, error)
- func (this *Backend) NewTextBox() tomo.TextBox
- func (this *Backend) NewTexture(source image.Image) canvas.TextureCloser
- func (this *Backend) NewWindow(bounds image.Rectangle) (output tomo.MainWindow, err error)
- func (this *Backend) Run() error
- func (this *Backend) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
func (*Backend) NewCanvas ¶
func (this *Backend) NewCanvas(bounds image.Rectangle) canvas.CanvasCloser
func (*Backend) NewCanvasBox ¶
func (*Backend) NewContainerBox ¶
func (this *Backend) NewContainerBox() tomo.ContainerBox
func (*Backend) NewPlainWindow ¶
func (*Backend) NewSurfaceBox ¶
func (this *Backend) NewSurfaceBox() (tomo.SurfaceBox, error)
func (*Backend) NewTextBox ¶
func (*Backend) NewTexture ¶
func (this *Backend) NewTexture(source image.Image) canvas.TextureCloser
Click to show internal directories.
Click to hide internal directories.