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